コード例 #1
0
		//public CommandRequestBuilder(RequestSigner signer)
		//    : this(signer, "https://email.us-east-1.amazonaws.com")
		//{
		//}

		public CommandRequestBuilder(RequestSigner signer, string endpoint = "https://email.us-east-1.amazonaws.com")

		{
			if (signer == null)
			{
				throw new ArgumentNullException("signer");
			}


			if (endpoint == null)
			{
				throw new ArgumentNullException("endpoint");
			}


			_endpoint = endpoint;
			Signer = signer;
		}
コード例 #2
0
        //public CommandRequestBuilder(RequestSigner signer)
        //    : this(signer, "https://email.us-east-1.amazonaws.com")
        //{
        //}

        public CommandRequestBuilder(RequestSigner signer, string endpoint = "https://email.us-east-1.amazonaws.com")

        {
            if (signer == null)
            {
                throw new ArgumentNullException("signer");
            }


            if (endpoint == null)
            {
                throw new ArgumentNullException("endpoint");
            }


            _endpoint = endpoint;
            Signer    = signer;
        }