示例#1
0
        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);
        }
示例#2
0
        /**
         * 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);
        }
示例#3
0
        /**
         * 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);
        }