Exemple #1
0
 public static void OverParts(this IOCBuilder <IVatCalculationStrategy> iocBuilder)
 {
     iocBuilder.UseType <OverSmallestPartsVatCalculationStrategy>();
 }
Exemple #2
0
 public static IOCBuilder <ICategoryService> Actual(this IOCBuilder <ICategoryService> iocBuilder)
 {
     iocBuilder.UseType <CategoryService>();
     return(iocBuilder);
 }
Exemple #3
0
 public static void OverTotal(this IOCBuilder <IVatCalculationStrategy> iocBuilder)
 {
     iocBuilder.UseType <OverTotalVatCalculationStrategy>();
 }
Exemple #4
0
 public static IOCBuilder <IOrderNumberService> Actual(this IOCBuilder <IOrderNumberService> iocBuilder)
 {
     iocBuilder.UseType <OrderNumberService>();
     return(iocBuilder);
 }
Exemple #5
0
 public static IOCBuilder <IApplicationCacheManagingService> Actual(this IOCBuilder <IApplicationCacheManagingService> iocBuilder)
 {
     iocBuilder.UseType <UmbracoApplicationCacheManagingService>();
     return(iocBuilder);
 }
Exemple #6
0
 public static IOCBuilder <IUrlFormatService> Actual(this IOCBuilder <IUrlFormatService> iocBuilder)
 {
     iocBuilder.UseType <UrlFormatService>();
     return(iocBuilder);
 }
Exemple #7
0
 public static IOCBuilder <IUrlLocalizationService> Actual(this IOCBuilder <IUrlLocalizationService> iocBuilder)
 {
     iocBuilder.UseType <StoreUrlInFrontBasedOnCurrentNodeUrlLocalizationService>();
     return(iocBuilder);
 }
Exemple #8
0
 public static IOCBuilder <IProductDiscountService> Actual(this IOCBuilder <IProductDiscountService> iocBuilder)
 {
     iocBuilder.UseType <ProductDiscountService>();
     return(iocBuilder);
 }
Exemple #9
0
 public static IOCBuilder <IProductUrlService> Actual(this IOCBuilder <IProductUrlService> iocBuilder)
 {
     iocBuilder.UseType <CatalogCategoryPlusProductUrlService>();
     return(iocBuilder);
 }
Exemple #10
0
 public static IOCBuilder <ICatalogUrlResolvingService> Actual(this IOCBuilder <ICatalogUrlResolvingService> iocBuilder)
 {
     iocBuilder.UseType <CatalogUrlResolvingService>();
     return(iocBuilder);
 }
Exemple #11
0
 public static IOCBuilder <IPaymentProviderService> Actual(this IOCBuilder <IPaymentProviderService> iocBuilder)
 {
     iocBuilder.UseType <PaymentProviderService>();
     return(iocBuilder);
 }
Exemple #12
0
 public static IOCBuilder <IStoreUrlRepository> Actual(this IOCBuilder <IStoreUrlRepository> iocBuilder)
 {
     iocBuilder.UseType <UmbracoStorePickerStoreUrlRepository>();
     return(iocBuilder);
 }
Exemple #13
0
 public static IOCBuilder <IStoreFromUrlDeterminationService> Actual(this IOCBuilder <IStoreFromUrlDeterminationService> iocBuilder)
 {
     iocBuilder.UseType <StoreFromUrlDeterminationService>(); return(iocBuilder);
 }
Exemple #14
0
 public static IOCBuilder <IDiscountCalculationService> Actual(this IOCBuilder <IDiscountCalculationService> iocBuilder)
 {
     iocBuilder.UseType <DiscountCalculationService>();
     return(iocBuilder);
 }