Beispiel #1
0
 public void SetAvailabilityHandler(ISubscriptionAvailabilityHandler handler)
 {
     availabilityHandler = handler;
     if (IsSatisfied)
     {
         availabilityHandler?.OnAvailable();
     }
 }
 public void SetAvailabilityHandler(ISubscriptionAvailabilityHandler handler)
 {
     availabilityHandler = handler;
     if (subscriptionsSatisfied == subscriptions.Length)
     {
         availabilityHandler?.OnAvailable();
     }
 }