Ejemplo n.º 1
0
 public IDisposable RegisterChangeCallback(Action<object> callback, object state)
 {
     Registration = new TokenCallbackRegistration()
     {
         RegisteredCallback = callback,
         RegisteredState = state,
     };
     return Registration;
 }
Ejemplo n.º 2
0
 public IDisposable RegisterChangeCallback(Action <object> callback, object state)
 {
     Registration = new TokenCallbackRegistration()
     {
         RegisteredCallback = callback,
         RegisteredState    = state,
     };
     return(Registration);
 }