コード例 #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;
 }