Class NamedLocks
Very simple helper to manage locks - typically for caching or resource intensive generation operations.
[InternalApi_DoNotUse_MayChangeWithoutNotice]
public class NamedLocks
- Inheritance
-
objectNamedLocks
Constructors
NamedLocks(bool)
Very simple helper to manage locks - typically for caching or resource intensive generation operations.
public NamedLocks(bool ignoreCase = true)
Parameters
ignoreCase
bool
Fields
Locks
public readonly ConcurrentDictionary<string, object> Locks
Field Value
- ConcurrentDictionary<string, object>
Methods
Get(string)
public object Get(string key)
Parameters
key
string
Returns
- object