示例#1
0
 protected override void EnforceExclusiveAccess(StandardConfigurer <ISagaStorage> configurer)
 {
     // Use the default semaphore slim implementation
     configurer.EnforceExclusiveAccess();
 }
 protected override void EnforceExclusiveAccess(StandardConfigurer <ISagaStorage> configurer)
 {
     // Use the concurrent dictionary so we can test using a custom locker
     configurer.EnforceExclusiveAccess(new ConcurrentDictionaryExclusiveAccessLock());
 }