Beispiel #1
0
 public RFQController(ISearchFacade searchFacade, IProductFacade productFacade, IRfpRequestFacade rfpFacade, IRfpAttachmentFacade rfpAttachmentFacade)
 {
     _productFacade       = productFacade ?? throw new ArgumentNullException(nameof(productFacade));
     _searchFacade        = searchFacade ?? throw new ArgumentNullException(nameof(searchFacade));
     _rfpFacade           = rfpFacade ?? throw new ArgumentNullException(nameof(rfpFacade));
     _rfpAttachmentFacade = rfpAttachmentFacade ?? throw new ArgumentNullException(nameof(rfpAttachmentFacade));
 }
 public SearchEngineController(ISearchFacade facade)
 {
     _Facade = facade;
     Logger  = NullLogger.Instance;
 }
Beispiel #3
0
 public SearchController(ISearchFacade searchFacade, IRfpRequestFacade rfpFacade, IMiscFacade miscFacade)
 {
     _searchFacade = searchFacade ?? throw new ArgumentNullException(nameof(searchFacade));
     _rfpFacade    = rfpFacade ?? throw new ArgumentNullException(nameof(rfpFacade));
     _miscFacade   = miscFacade ?? throw new ArgumentNullException(nameof(miscFacade));
 }