StringLocker.DoAction Method

Namespace:
Weavy.Core.Helpers
Assembly:
Weavy.Core.dll

DoAction(string, Action)

Takes a lock on s and executes the specified action.

public static void DoAction(string s, Action action)

Parameters

s
string

The string to lock on

action
System.Action

The action to perform.