Previous Docs Version

The documentation you are viewing is for a previous version of the Vendr product. Click here to jump to the current stable version.

VendrServiceContext

API reference for VendrServiceContext in Vendr, the eCommerce solution for Umbraco v8+

VendrServiceContext

A central service context for easy access to all of Vendr's services

public class VendrServiceContext

Namespace

Constructors

VendrServiceContext

Instantiates a new VendrServiceContext instance

public VendrServiceContext(Lazy<ICountryService> countryService, 
    Lazy<ICurrencyService> currencyService, Lazy<IEmailTemplateService> emailTemplateService, 
    Lazy<IOrderService> orderService, Lazy<IOrderStatusService> orderStatusService, 
    Lazy<IPaymentMethodService> paymentMethodService, 
    Lazy<IShippingMethodService> shippingMethodService, Lazy<IStoreService> storeService, 
    Lazy<ITaxService> taxService, Lazy<IProductService> productService, 
    Lazy<IDiscountService> discountService, Lazy<IGiftCardService> giftCardService, 
    Lazy<ITranslationService> translationService)

Parameters

Parameter Description
countryService
currencyService
emailTemplateService
orderService
orderStatusService
paymentMethodService
shippingMethodService
storeService
taxService
productService
discountService
giftCardService
translationService

Properties

CountryService

Gets the ICountryService

public ICountryService CountryService { get; }

CurrencyService

Gets the ICurrencyService

public ICurrencyService CurrencyService { get; }

DiscountService

Gets the IDiscountService

public IDiscountService DiscountService { get; }

EmailTemplateService

Gets the IEmailTemplateService

public IEmailTemplateService EmailTemplateService { get; }

GiftCardService

Gets the IGiftCardService

public IGiftCardService GiftCardService { get; }

OrderService

Gets the IOrderService

public IOrderService OrderService { get; }

OrderStatusService

Gets the IOrderStatusService

public IOrderStatusService OrderStatusService { get; }

PaymentMethodService

Gets the IPaymentMethodService

public IPaymentMethodService PaymentMethodService { get; }

ProductService

Gets the IProductService

public IProductService ProductService { get; }

ShippingMethodService

Gets the IShippingMethodService

public IShippingMethodService ShippingMethodService { get; }

StoreService

Gets the IStoreService

public IStoreService StoreService { get; }

TaxService

Gets the ITaxService

public ITaxService TaxService { get; }

TranslationService

Gets the ITranslationService

public ITranslationService TranslationService { get; }

Edit this page on GitHub

Site + logo design © 2025 Outfield Digital Ltd. Content contributions licensed under MIT.
Vendr® is a Registered Trademark of Outfield Digital Ltd.