コード例 #1
0
 /// <summary>Initializes a new instance of the <see cref="LockEntry"/> class.</summary>
 /// <param name="parent">The owning lock.</param>
 /// <param name="trace">The current stack trace.</param>
 public LockEntry(ExclusiveLock parent, StackTrace trace)
 {
     this.parentLock = parent;
     this.stackTrace = trace;
 }
コード例 #2
0
 /// <summary>Initializes a new instance of the <see cref="LockEntry"/> class.</summary>
 /// <param name="parent">The owning lock.</param>
 public LockEntry(ExclusiveLock parent)
 {
     this.parentLock = parent;
 }