1 instantiation of LockState
NuGet.Common (1)
KeyedLock.cs (1)
125
lockState = new
LockState
();
8 references to LockState
NuGet.Common (8)
KeyedLock.cs (8)
16
/// <summary>The dictionary that contains a <see cref="
LockState
"/> for each key.</summary>
18
private readonly Dictionary<string,
LockState
> _locks;
25
_locks = new Dictionary<string,
LockState
>();
36
LockState
lockState;
76
LockState
lockState;
109
private
LockState
GetOrCreate(string key)
113
if (_locks.TryGetValue(key, out
var
lockState))
176
var
lockState = _locks[key];