private Model.NetworkConfigurationSet CreateNetworkConfigurationSet() { var netConfig = new Model.NetworkConfigurationSet { InputEndpoints = new Collection <InputEndpoint>() }; if (SubnetNames != null) { netConfig.SubnetNames = new Model.SubnetNamesCollection(); foreach (var subnet in SubnetNames) { netConfig.SubnetNames.Add(subnet); } } return(netConfig); }
private Model.NetworkConfigurationSet CreateNetworkConfigurationSet() { var netConfig = new Model.NetworkConfigurationSet { InputEndpoints = new Collection<InputEndpoint>() }; if (SubnetNames != null) { netConfig.SubnetNames = new Model.SubnetNamesCollection(); foreach (var subnet in SubnetNames) { netConfig.SubnetNames.Add(subnet); } } return netConfig; }