Exemple #1
0
 ///GENMHASH:F792498DBF3C736E27E066C92C2E7F7A:129071765816A335066AAC27F7CCCEAD
 internal NetworkImpl WithSubnet(SubnetImpl subnet)
 {
     if (subnet != null)
     {
         subnets[subnet.Name()] = subnet;
     }
     return(this);
 }
Exemple #2
0
        ///GENMHASH:6D9F740D6D73C56877B02D9F1C96F6E7:DDD01175DC699E92E7CD9E1C4C74A5A4
        override protected void InitializeChildrenFromInner()
        {
            subnets = new Dictionary <string, ISubnet>();
            IList <SubnetInner> inners = Inner.Subnets;

            if (inners != null)
            {
                foreach (var inner in inners)
                {
                    SubnetImpl subnet = new SubnetImpl(inner, this);
                    subnets[inner.Name] = subnet;
                }
            }
            peerings = new NetworkPeeringsImpl(this);
        }