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

            channel.Subscribe(sk, handler);
        }
Exemplo n.º 4
0
 public abstract void Unsubscribe(SubKey sk);