Esempio n. 1
0
 internal void Unsubscribe(SubKey sk)
 {
     foreach (var channel in this._channels.Values)
     {
         channel.Unsubscribe(sk);
     }
 }
Esempio n. 2
0
 internal void Unsubscribe(SubKey sk, string channelName)
 {
     if (this._channels.TryGetValue(channelName, out var channel))
     {
         channel.Unsubscribe(sk);
     }
 }
Esempio n. 3
0
        internal void Subscribe <TValue>(SubKey sk, string channelName, Action <TValue> handler)
        {
            var channel = this.GetOrCreateChannel <TValue>(channelName);

            channel.Subscribe(sk, handler);
        }
 public abstract void Unsubscribe(SubKey sk);