public BrandMenuViewComponent(IBrandClient brandClient)
 {
     _brandClient = brandClient;
 }
 public HeaderBannerViewComponent(IBrandClient brandClient, IMaterialClient materialClient, IProductCategoryClient productCategoryClient)
 {
     _brandClient           = brandClient;
     _materialClient        = materialClient;
     _productCategoryClient = productCategoryClient;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ReferenceDataRepository"/> class.
 /// </summary>
 /// <param name="applicationSetting">The application setting.</param>
 public ReferenceDataRepository(IApplicationSetting applicationSetting)
 {
     if (applicationSetting != null)
     {
         this.countryClient = DIContainer.Instance.Resolve<ICountryClient>(new ResolverOverride[] { new ParameterOverride(BaseAddressParameterName, applicationSetting.ReferenceDataServiceBaseAddress) });
         this.stateClient = DIContainer.Instance.Resolve<IStateClient>(new ResolverOverride[] { new ParameterOverride(BaseAddressParameterName, applicationSetting.ReferenceDataServiceBaseAddress) });
         this.portClient = DIContainer.Instance.Resolve<IPortClient>(new ResolverOverride[] { new ParameterOverride(BaseAddressParameterName, applicationSetting.ReferenceDataServiceBaseAddress) });
         this.brandClient = DIContainer.Instance.Resolve<IBrandClient>(new ResolverOverride[] { new ParameterOverride(BaseAddressParameterName, applicationSetting.ReferenceDataServiceBaseAddress) });
         this.personTypeClient = DIContainer.Instance.Resolve<IPersonTypeClient>(new ResolverOverride[] { new ParameterOverride(BaseAddressParameterName, applicationSetting.ReferenceDataServiceBaseAddress) });
         this.loyaltyLevelTypeClient = DIContainer.Instance.Resolve<ILoyaltyLevelTypeClient>(new ResolverOverride[] { new ParameterOverride(BaseAddressParameterName, applicationSetting.ReferenceDataServiceBaseAddress) });
         this.documentTypeClient = DIContainer.Instance.Resolve<IDocumentTypeClient>(new ResolverOverride[] { new ParameterOverride(BaseAddressParameterName, applicationSetting.ReferenceDataServiceBaseAddress) });
     }
 }
 public BrandController(IBrandClient brandClient, IConfiguration configuration)
 {
     _branclient    = brandClient;
     _configuration = configuration;
 }
Exemplo n.º 5
0
 public BrandMenu(IBrandClient brandClient)
 {
     this._brandClient = brandClient;
 }