private static IDictionary <string, string> ConvertCreateDomain(CreateDomainRequest request) { IDictionary <string, string> dictionary = new Dictionary <string, string>(); dictionary["Action"] = "CreateDomain"; if (request.IsSetDomainName()) { dictionary["DomainName"] = request.DomainName; } return(dictionary); }
/** * Convert CreateDomainRequest to name value pairs */ private IDictionary <String, String> ConvertCreateDomain(CreateDomainRequest request) { IDictionary <String, String> parameters = new Dictionary <String, String>(); parameters.Add("Action", "CreateDomain"); if (request.IsSetDomainName()) { parameters.Add("DomainName", request.DomainName); } return(parameters); }
/** * Convert CreateDomainRequest to name value pairs */ private static IDictionary <string, string> ConvertCreateDomain(CreateDomainRequest request) { IDictionary <string, string> parameters = new Dictionary <string, string>(); parameters["Action"] = "CreateDomain"; if (request.IsSetDomainName()) { parameters["DomainName"] = request.DomainName; } return(parameters); }