Пример #1
0
 public override Task OnActivateAsync()
 {
     subscribers = new ObserverSubscriptionManager <IClientObserver>();
     return(base.OnActivateAsync());
 }
Пример #2
0
 public override Task OnActivateAsync()
 {
     _subscriptionManager = new ObserverSubscriptionManager <IUserConnectionObserver>();
     return(base.OnActivateAsync());
 }
Пример #3
0
 public override Task OnDeactivateAsync()
 {
     _subscriptionManager.Clear();
     _subscriptionManager = null;
     return(base.OnDeactivateAsync());
 }
Пример #4
0
 public override async Task OnActivateAsync()
 {
     // We created the utility at activation time.
     _subsManager = new ObserverSubscriptionManager <IChatCallback>();
     await base.OnActivateAsync();
 }