PeerCastStation.ChannelNotifier.ChannelNotifier C# (CSharp) Méthode

ChannelNotifier() public méthode

public ChannelNotifier ( PeerCastApplication app ) : System
app PeerCastStation.Core.PeerCastApplication
Résultat System
    public ChannelNotifier(PeerCastApplication app)
    {
      this.app = app;
      this.messageExpireTimer.Start();
      this.app.PeerCast.ChannelAdded   += (sender, args) => {
        args.Channel.Closed += OnChannelClosed;
      };
      this.app.PeerCast.ChannelRemoved += (sender, args) => {
        args.Channel.Closed -= OnChannelClosed;
      };
    }