Esempio n. 1
0
 public QueryRequestMessageBuilder(
     IClientConfiguration clientConfiguration,
     IEndpointRetriever endpointRetriever,
     IParametersBuilderFactory <IAdditionalParametersBuilder> parametersBuilderFactory)
     : base(clientConfiguration, endpointRetriever, parametersBuilderFactory)
 {
 }
 protected RequestMessageBuilderBase(
     IEndpointRetriever endpointRetriever,
     IParametersBuilderFactory <IAdditionalParametersBuilder> parametersBuilderFactory)
 {
     this.endpointRetriever        = endpointRetriever;
     this.parametersBuilderFactory = parametersBuilderFactory;
 }
Esempio n. 3
0
 public GetByContainerAndKeyMessageBuilder(
     ISerializerService serializerService,
     IEndpointRetriever endpointRetriever,
     IParametersBuilderFactory <IAdditionalParametersBuilder> parametersBuilderFactory)
     : base(endpointRetriever, parametersBuilderFactory)
 {
     this.serializerService = serializerService;
 }
 public QueryRequestMessageBuilder(
     IEndpointRetriever endpointRetriever,
     IParametersBuilderFactory <IAdditionalParametersBuilder> parametersBuilderFactory,
     IParametersBuilderFactory <IQueryParametersBuilder> queryParametersBuilderFactory)
     : base(endpointRetriever, parametersBuilderFactory)
 {
     this.queryParametersBuilderFactory = queryParametersBuilderFactory;
 }
Esempio n. 5
0
 public SignUpRequestMessageBuilder(
     ISerializerService serializerService,
     IEndpointRetriever endpointRetriever,
     IParametersBuilderFactory <IAdditionalParametersBuilder> parametersBuilderFactory)
     : base(endpointRetriever, parametersBuilderFactory)
 {
     this.serializerService = serializerService;
 }
Esempio n. 6
0
 public SearchRequestMessageBuilder(
     IEndpointRetriever endpointRetriever,
     IParametersBuilderFactory <IAdditionalParametersBuilder> parametersBuilderFactory,
     IParametersBuilderFactory <ISearchParametersBuilder> searchParametersBuilderFactory)
     : base(endpointRetriever, parametersBuilderFactory)
 {
     this.searchParametersBuilderFactory = searchParametersBuilderFactory;
 }
        public void GetProductProjectionSearchParametersBuilderFromFactory()
        {
            ProductProjectionSearchParameters productAdditionalParameters = new ProductProjectionSearchParameters();
            IParametersBuilderFactory <ISearchParametersBuilder> parametersBuilderFactory = this.clientFixture.GetService <IParametersBuilderFactory <ISearchParametersBuilder> >();
            ISearchParametersBuilder parametersBuilder = parametersBuilderFactory.GetParameterBuilder(productAdditionalParameters);

            Assert.Equal(typeof(ProductProjectionSearchParametersBuilder), parametersBuilder.GetType());
        }
        public void GetShippingMethodsForCartAdditionalParametersBuilderFromFactory()
        {
            GetShippingMethodsForCartAdditionalParameters            productAdditionalParameters = new GetShippingMethodsForCartAdditionalParameters();
            IParametersBuilderFactory <IAdditionalParametersBuilder> parametersBuilderFactory    = this.clientFixture.GetService <IParametersBuilderFactory <IAdditionalParametersBuilder> >();
            IAdditionalParametersBuilder additionalParametersMessageBuilder = parametersBuilderFactory.GetParameterBuilder(productAdditionalParameters);

            Assert.Equal(typeof(GetShippingMethodsForCartAdditionalParametersBuilder), additionalParametersMessageBuilder.GetType());
        }
 public UploadImageRequestMessageBuilder(
     IEndpointRetriever endpointRetriever,
     IParametersBuilderFactory <IAdditionalParametersBuilder> parametersBuilderFactory,
     IParametersBuilderFactory <IUploadImageParametersBuilder> uploadParametersBuilderFactory)
     : base(endpointRetriever, parametersBuilderFactory)
 {
     this.uploadParametersBuilderFactory = uploadParametersBuilderFactory;
 }
Esempio n. 10
0
 public ReplicateRequestMessageBuilder(
     ISerializerService serializerService,
     IClientConfiguration clientConfiguration,
     IEndpointRetriever endpointRetriever,
     IParametersBuilderFactory <IAdditionalParametersBuilder> parametersBuilderFactory)
     : base(clientConfiguration, endpointRetriever, parametersBuilderFactory)
 {
     this.serializerService = serializerService;
 }
Esempio n. 11
0
 protected RequestMessageBuilderBase(
     IClientConfiguration clientConfiguration,
     IEndpointRetriever endpointRetriever,
     IParametersBuilderFactory <IAdditionalParametersBuilder> parametersBuilderFactory)
 {
     this.clientConfiguration      = clientConfiguration;
     this.endpointRetriever        = endpointRetriever;
     this.parametersBuilderFactory = parametersBuilderFactory;
 }
Esempio n. 12
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CheckRequestMessageBuilder"/> class.
 /// </summary>
 /// <param name="endpointRetriever">The endpoint retriever.</param>
 /// <param name="parametersBuilderFactory">The parameters builder factory.</param>
 public CheckRequestMessageBuilder(
     IEndpointRetriever endpointRetriever,
     IParametersBuilderFactory <IAdditionalParametersBuilder> parametersBuilderFactory)
     : base(endpointRetriever, parametersBuilderFactory)
 {
 }