Пример #1
0
 /// <summary>
 /// The default Constructor.
 /// </summary>
 public AvediaServer(string hostNameOrIpAddress)
 {
     _hostNameOrIpAddress = hostNameOrIpAddress;
     Receivers            = new ReceiverCollection(this);
     Channels             = new ChannelCollection(this);
     Recording            = new Recordings(this);
 }
Пример #2
0
        protected virtual void OnChannelsUpdated(ChannelCollection collection)
        {
            var handler = ChannelsUpdated;

            if (handler != null)
            {
                handler(collection);
            }
        }