ListSubnets() public méthode

public ListSubnets ( ) : IEnumerable
Résultat IEnumerable
 public void GetSubnetTest()
 {
     var os = new OpenStackMember(UserName, Password, TenantName, TenantId);
     var subnets = os.ListSubnets();
     Assert.IsNotNull(subnets);
     foreach (var s in subnets)
     {
         var subnet = os.GetSubnet(s.Id);
         Assert.IsNotNull(subnet);
     }
 }
 public void ListSubnetsTest()
 {
     var os = new OpenStackMember(UserName, Password, TenantName, TenantId);
     var subnets = os.ListSubnets();
     Assert.IsNotNull(subnets);
     foreach (var s in subnets)
     {
         Trace.WriteLine("===============================================");
         Trace.WriteLine(string.Format("subnet Id : {0}", s.Id));
         Trace.WriteLine(string.Format("subnet Name : {0}", s.Name));
         Trace.WriteLine(string.Format("subnet TenantId : {0}", s.TenantId));
         Trace.WriteLine(string.Format("subnet NetworkId : {0}", s.NetworkId));
         Trace.WriteLine(string.Format("subnet Cidr : {0}", s.Cidr));
         Trace.WriteLine(string.Format("subnet GatewayIp : {0}", s.GatewayIp));
     }
 }