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