コード例 #1
0
 public ProductController(IProductRepository productRepo, IMetaProductRepository metaProductRepo, IProductService productService, ICanSave saver)
 {
     _productRepo = productRepo;
     _metaProductRepo = metaProductRepo;
     _productService = productService;
     this.saver = saver;
 }
コード例 #2
0
 public BuyerController(IBuyerRepository buyerRepo, IMetaProductRepository metaProductRepo, IBuyerService buyerService, ICanSave saver)
 {
     _buyerRepo = buyerRepo;
     _metaProductRepo = metaProductRepo;
     _buyerService = buyerService;
     this.saver = saver;
 }
コード例 #3
0
 public SaveCommand(ICanSave openSaveControl, IObservable <System.Reactive.Unit> unitObservable)
 {
     this.canSave = openSaveControl;
     unitObservable.Subscribe(
         _ =>
     {
         this.CanExecuteChanged?.Invoke(this, EventArgs.Empty);
     });
 }
コード例 #4
0
 public CampaignController(ICampaignService campaignService, IMessagingService messagingService, ICalendarService calendarService, 
     IProductRepository productRepository, IConfigurationService configurationService, ICanSave saver)
 {
     this.campaignService = campaignService;
     this.messagingService = messagingService;
     this.calendarService = calendarService;
     this.productRepository = productRepository;
     this.configurationService = configurationService;
     this.saver = saver;
 }
コード例 #5
0
ファイル: ProductService.cs プロジェクト: liammclennan/Herald
 public ProductService(IProductRepository productRepository, IImageResizer imageResizer, ICanSave saver)
 {
     _productRepository = productRepository;
     _imageResizeService = imageResizer;
     this.saver = saver;
 }
コード例 #6
0
 public ProfileController(IAgencyService agencyService, IImportService importService, ICanSave saver)
 {
     this.agencyService = agencyService;
     this.importService = importService;
     this.saver = saver;
 }
コード例 #7
0
 public AdminController(IAgencyService agencyService, ICanSave saver, IAgencyRepository agencyRepository)
 {
     this.agencyService = agencyService;
     this.saver = saver;
     this.agencyRepository = agencyRepository;
 }
コード例 #8
0
ファイル: BuyerService.cs プロジェクト: liammclennan/Herald
 public BuyerService(IBuyerRepository buyerRepo, ICanSave saver)
 {
     _buyerRepo = buyerRepo;
     this.saver = saver;
 }
コード例 #9
0
 public AgencyController(IAgencyService agencyService, ICanSave saver, IFormsAuthentication formAuth)
 {
     this.agencyService = agencyService;
     this.saver = saver;
     this.formsAuth = formAuth;
 }