/// <summary> /// Initializes a new instance of the <see cref="SyncLockReleaser"/> class. /// </summary> /// <param name="parent">The parent.</param> /// <param name="operation">The operation.</param> public SyncLockReleaser(ISyncReleasable parent, LockHolderType operation) { Parent = parent; Operation = operation; if (parent == null) { IsDisposed = true; } }
/// <summary> /// Initializes a new instance of the <see cref="SyncLockReleaser"/> class. /// </summary> /// <param name="parent">The parent.</param> /// <param name="operation">The operation.</param> public SyncLockReleaser(ISyncReleasable parent, LockHolderType operation) { _parent = parent; _operation = operation; }
public StandardLockHolder(StandardSyncLocker parent, LockHolderType operation) { Parent = parent; Operation = operation; }
public SlimLockHolder(SlimSyncLocker parent, LockHolderType operation) { Parent = parent; Operation = operation; }