コード例 #1
0
 public IDisposable RegisterChangeCallback(Action<object> callback, object state)
 {
     Registration = new TokenCallbackRegistration()
     {
         RegisteredCallback = callback,
         RegisteredState = state,
     };
     return Registration;
 }
コード例 #2
0
 public IDisposable RegisterChangeCallback(Action <object> callback, object state)
 {
     Registration = new TokenCallbackRegistration()
     {
         RegisteredCallback = callback,
         RegisteredState    = state,
     };
     return(Registration);
 }