本文整理汇总了C#中IInvoiceService类的典型用法代码示例。如果您正苦于以下问题:C# IInvoiceService类的具体用法?C# IInvoiceService怎么用?C# IInvoiceService使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
IInvoiceService类属于命名空间,在下文中一共展示了IInvoiceService类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: InvoicesController
public InvoicesController(IInvoiceService invoiceService, IPatronService patronService, IProductService productService, IMapper<Invoice, InvoiceDTO> mapper)
{
_invoiceService = invoiceService;
_patronService = patronService;
_productService = productService;
_mapper = mapper;
}
示例2: GatewayProviderService
internal GatewayProviderService(IDatabaseUnitOfWorkProvider provider, RepositoryFactory repositoryFactory,
IShipMethodService shipMethodService, IShipRateTierService shipRateTierService,
IShipCountryService shipCountryService, IInvoiceService invoiceService, IOrderService orderService, ITaxMethodService taxMethodService,
IPaymentService paymentService, IPaymentMethodService paymentMethodService)
{
Mandate.ParameterNotNull(provider, "provider");
Mandate.ParameterNotNull(repositoryFactory, "repositoryFactory");
Mandate.ParameterNotNull(shipMethodService, "shipMethodService");
Mandate.ParameterNotNull(shipRateTierService, "shipRateTierService");
Mandate.ParameterNotNull(shipCountryService, "shipCountryService");
Mandate.ParameterNotNull(taxMethodService, "countryTaxRateService");
Mandate.ParameterNotNull(paymentService, "paymentService");
Mandate.ParameterNotNull(paymentMethodService, "paymentMethodService");
Mandate.ParameterNotNull(invoiceService, "invoiceService");
Mandate.ParameterNotNull(orderService, "orderService");
_uowProvider = provider;
_repositoryFactory = repositoryFactory;
_shipMethodService = shipMethodService;
_shipRateTierService = shipRateTierService;
_shipCountryService = shipCountryService;
_invoiceService = invoiceService;
_orderService = orderService;
_taxMethodService = taxMethodService;
_paymentService = paymentService;
_paymentMethodService = paymentMethodService;
}
示例3: TodaysCustomerTransactionsViewModel
public TodaysCustomerTransactionsViewModel(ICustomerService customerService, IInvoiceService invoiceService)
{
CustomerService = customerService;
InvoiceService = invoiceService;
Items = new BindableCollection<CustomerTransactionModel>();
}
示例4: InvoicePopupViewModel
public InvoicePopupViewModel(IInvoiceService invoiceService, IProductService productService)
{
InvoiceService = invoiceService;
ProductService = productService;
Items = new BindableCollection<SaleItemViewModel>();
}
示例5: PurchaseController
public PurchaseController(IProductService productService, IPurchaseService purchaseService,
IInvoiceService invoiceService, IStatusService statusService)
{
_productService = productService;
_purchaseService = purchaseService;
_invoiceService = invoiceService;
_statusService = statusService;
}
示例6: InvoiceController
public InvoiceController(IInvoiceService invoiceService, IGroupService groupService, IUserService userService, IAccountService accountService , IContactService contactService, ISalesOrderService salesOrderService)
{
this.invoiceService = invoiceService;
this.groupService = groupService;
this.userService = userService;
this.contactService = contactService;
this.accountService = accountService;
this.salesOrderService = salesOrderService;
}
示例7: CustomerInvoiceViewModel
public CustomerInvoiceViewModel(IEventAggregator eventAggregator, ICustomerService customerService, IProductService productService, IInvoiceService invoiceService)
{
EventAggregator = eventAggregator;
CustomerService = customerService;
ProductService = productService;
InvoiceService = invoiceService;
DisplayName = "New Invoice";
Items = new BindableCollection<CustomerInvoiceItemViewModel>();
}
示例8: ClientController
public ClientController(ILogger logger,
IObjectStore objectStore,
IEmailService emailService,
IMembershipService membershipService,
IInvoiceService invoiceService)
: base(logger, objectStore, emailService)
{
_MembershipService = membershipService;
_InvoiceService = invoiceService;
}
示例9: PotentialController
public PotentialController(IPotentialService potentialService, IGroupService groupService, IUserService userService,
ICampaignService campaignService, IAccountService accountService, IInvoiceService invoiceService, IQuoteService quoteService)
{
this.potentialService = potentialService;
this.groupService = groupService;
this.userService = userService;
this.campaignService = campaignService;
this.accountService = accountService;
this.invoiceService = invoiceService;
this.quoteService = quoteService;
}
示例10: BuyController
public BuyController(IProductService productService, ICustomerService customerService,
IProfileService profileService, IUserService userService, IInvoiceService invoiceService,
ISecurityCodeService securityCodeService)
{
_customerService = customerService;
_profileService = profileService;
_invoiceService = invoiceService;
_securityCodeService = securityCodeService;
_service = new Service(productService);
_common = new Common(userService);
}
示例11: SaleViewModel
public SaleViewModel(ScreenCoordinator screenCoordinator, ICustomerService customerService, IProductService productService, IInvoiceService invoiceService, IDiscountService discountService)
{
ScreenCoordinator = screenCoordinator;
CustomerService = customerService;
ProductService = productService;
InvoiceService = invoiceService;
DiscountService = discountService;
DisplayName = "PURCHASE";
Products = new BindableCollection<SaleItemViewModel>();
}
示例12: InvoiceController
public InvoiceController(IProductService productService, IPurchaseService purchaseService,
IInvoiceService invoiceService, IStoreService storeInvoice, IUserService userService,
ICustomerService customerService, IStatusService statusService)
{
_productService = productService;
_purchaseService = purchaseService;
_invoiceService = invoiceService;
_storeInvoice = storeInvoice;
_userService = userService;
_customerService = customerService;
_statusService = statusService;
}
示例13: ExportOrdersReportApiController
/// <summary>
/// Initializes a new instance of the <see cref="ExportOrdersReportApiController"/> class.
/// </summary>
/// <param name="merchelloContext">
/// The merchello context.
/// </param>
public ExportOrdersReportApiController(IMerchelloContext merchelloContext)
: base(merchelloContext)
{
_invoiceService = merchelloContext.Services.InvoiceService;
_merchello = new MerchelloHelper(merchelloContext.Services);
}
示例14: OrderApiController
/// <summary>
/// Initializes a new instance of the <see cref="OrderApiController" /> class.
/// </summary>
/// <param name="merchelloContext">The merchello context.</param>
public OrderApiController(IMerchelloContext merchelloContext)
: base(merchelloContext)
{
_orderService = merchelloContext.Services.OrderService;
_invoiceService = merchelloContext.Services.InvoiceService;
_merchello = new MerchelloHelper(merchelloContext.Services);
}
示例15: FrmInvoice
public FrmInvoice()
{
_common = new CommonService();
_dispatchOrderService = new DispatchOrderService();
_invoiceService = new InvoiceService();
InitializeComponent();
}