コード例 #1
0
 /// <summary>
 ///     Record atomic activity which cannot host other activities
 /// </summary>
 /// <param name="event">Activity to be recorded</param>
 public void RecordEvent(IActivity @event)
 {
     _mutex.WaitOne();
     _currentActivity.AddNested(@event);
     _mutex.ReleaseMutex();
 }