예제 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ReentryGuard" /> class.
 /// </summary>
 public ReentryGuard()
 {
     _workQueue = new SafeQueue <Action>();
     _id        = RuntimeUniqueIdProvider.GetNextId();
 }
예제 #2
0
 /// <summary>
 ///     Initializes a new instance of the <see cref="ReentryGuard" /> class.
 /// </summary>
 public ReentryGuard()
 {
     Id = RuntimeUniqueIdProvider.GetNextId();
 }