Example #1
0
 public void Start()
 {
     CacheNotify.Subscribe((n) => SendNotifyMessage(n), CacheNotifyAction.InsertOrUpdate);
     CacheInvoke.Subscribe((n) => InvokeSendMethod(n), CacheNotifyAction.InsertOrUpdate);
 }
Example #2
0
 public void Dispose()
 {
     CacheNotify.Unsubscribe(CacheNotifyAction.InsertOrUpdate);
     CacheInvoke.Unsubscribe(CacheNotifyAction.InsertOrUpdate);
 }