Ejemplo n.º 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;
		}
Ejemplo n.º 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;
        }