OpenHome.Songcast.SubnetList.Added C# (CSharp) Метод

Added() приватный Метод

private Added ( ISubnet aSubnet ) : void
aSubnet ISubnet
Результат void
        internal void Added(ISubnet aSubnet)
        {
            Subnet subnet = new Subnet(aSubnet);

            iList.Add(subnet);

            if (CollectionChanged != null)
            {
                CollectionChanged(this, new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Add, subnet));
            }

            if (CountChanged != null)
            {
                CountChanged(this, EventArgs.Empty);
            }
        }