예제 #1
0
 public IDisposable RegisterExpirationCallback(Action <object> callback, object state)
 {
     Registration = new TriggerCallbackRegistration()
     {
         RegisteredCallback = callback,
         RegisteredState    = state,
     };
     return(Registration);
 }
예제 #2
0
 public IDisposable RegisterExpirationCallback(Action<object> callback, object state)
 {
     Registration = new TriggerCallbackRegistration()
     {
         RegisteredCallback = callback,
         RegisteredState = state,
     };
     return Registration;
 }