public ListClients(IProcessorLocator processorLocator) { if (processorLocator == null) { throw new ArgumentNullException(); } this.database = processorLocator.GetProcessor <IDatabase>() ?? throw new ArgumentNullException(); this.writer = processorLocator.GetProcessor <IWriter>() ?? throw new ArgumentNullException(); }
//Initialize the singleInstance objects that are used in the methods //properties not needed for now public StockManager(IProcessorLocator processorLocator) { if (processorLocator == null) { throw new ArgumentNullException(); } this.database = processorLocator.GetProcessor <IDatabase>() ?? throw new ArgumentNullException(); this.modelValidator = processorLocator.GetProcessor <IValidateModel>() ?? throw new ArgumentNullException(); }
public FullLocationHolder(IProcessorLocator locator) { _locator = locator; _locations = locator.GetProcessor<LocationDataHolder>(); _accessDevices = locator.GetProcessor<AccessDeviceDataHolder>(); _captureDevices = locator.GetProcessor<CaptureDeviceDataHolder>(); _convertor = new ProtoMessageConvertor(); }
public FireEmployee(IProcessorLocator processorLocator) { if (processorLocator == null) { throw new ArgumentNullException(); } this.database = processorLocator.GetProcessor <IDatabase>() ?? throw new ArgumentNullException(); this.coreValidator = processorLocator.GetProcessor <IValidateCore>() ?? throw new ArgumentNullException(); this.writer = processorLocator.GetProcessor <IWriter>() ?? throw new ArgumentNullException(); }
public WithdrawCashFromBank(IProcessorLocator processorLocator) { if (processorLocator == null) { throw new ArgumentNullException(); } this.database = processorLocator.GetProcessor <IDatabase>() ?? throw new ArgumentNullException(); this.coreValidator = processorLocator.GetProcessor <IValidateCore>() ?? throw new ArgumentNullException(); this.writer = processorLocator.GetProcessor <IWriter>() ?? throw new ArgumentNullException(); }
//constructor public Engine(IProcessorLocator processorLocator) { if (processorLocator == null) { throw new ArgumentNullException(); } this.CommandFactory = processorLocator.GetProcessor <ICommandFactory>() ?? throw new ArgumentNullException(); this.writer = processorLocator.GetProcessor <IWriter>() ?? throw new ArgumentNullException(); this.reader = processorLocator.GetProcessor <IReader>() ?? throw new ArgumentNullException(); }
public FullVisitorHolder(IProcessorLocator locator) { _locator = locator; _visitors = locator.GetProcessor<VisitorDataHolder>(); _photos = locator.GetProcessor<PhotoDataHolder>(); _convertor = new ProtoMessageConvertor(); _utils = new IOUtils(); }
public FullPersonHolder( IProcessorLocator locator ) { _locator = locator; _persons = locator.GetProcessor<PersonDataHolder>(); _photos = locator.GetProcessor<PhotoDataHolder>(); _cards = locator.GetProcessor<CardDataHolder>(); _convertor = new ProtoMessageConvertor(); _utils = new IOUtils(); }
public ListWarehouseItems(IProcessorLocator processorLocator) { if (processorLocator == null) { throw new ArgumentNullException(); } this.database = processorLocator.GetProcessor <IDatabase>() ?? throw new ArgumentNullException(); this.coreValidator = processorLocator.GetProcessor <IValidateCore>() ?? throw new ArgumentNullException(); this.writer = processorLocator.GetProcessor <IWriter>() ?? throw new ArgumentNullException(); this.stockManager = processorLocator.GetProcessor <IStockManager>() ?? throw new ArgumentNullException(); }
public IssueInvoices(IProcessorLocator processorLocator) { if (processorLocator == null) { throw new ArgumentNullException(); } this.database = processorLocator.GetProcessor <IDatabase>() ?? throw new ArgumentNullException(); this.coreValidator = processorLocator.GetProcessor <IValidateCore>() ?? throw new ArgumentNullException(); this.modelValidator = processorLocator.GetProcessor <IValidateModel>() ?? throw new ArgumentNullException(); this.writer = processorLocator.GetProcessor <IWriter>() ?? throw new ArgumentNullException(); }
public RegisterSupplier(IProcessorLocator processorLocator) { if (processorLocator == null) { throw new ArgumentNullException(); } this.database = processorLocator.GetProcessor <IDatabase>() ?? throw new ArgumentNullException(); this.factory = processorLocator.GetProcessor <IAutoServiceFactory>() ?? throw new ArgumentNullException(); this.coreValidator = processorLocator.GetProcessor <IValidateCore>() ?? throw new ArgumentNullException(); this.writer = processorLocator.GetProcessor <IWriter>() ?? throw new ArgumentNullException(); }
public SellServiceToClientVehicle(IProcessorLocator processorLocator) { if (processorLocator == null) { throw new ArgumentNullException(); } this.database = processorLocator.GetProcessor <IDatabase>() ?? throw new ArgumentNullException(); this.coreValidator = processorLocator.GetProcessor <IValidateCore>() ?? throw new ArgumentNullException(); this.writer = processorLocator.GetProcessor <IWriter>() ?? throw new ArgumentNullException(); this.autoServiceFactory = processorLocator.GetProcessor <IAutoServiceFactory>() ?? throw new ArgumentNullException(); this.modelValidator = processorLocator.GetProcessor <IValidateModel>() ?? throw new ArgumentNullException(); }
//Constructor public OrderStockToWarehouse(IProcessorLocator processorLocator) { if (processorLocator == null) { throw new ArgumentNullException(); } this.database = processorLocator.GetProcessor <IDatabase>() ?? throw new ArgumentNullException(); this.autoServiceFactory = processorLocator.GetProcessor <IAutoServiceFactory>() ?? throw new ArgumentNullException(); this.coreValidator = processorLocator.GetProcessor <IValidateCore>() ?? throw new ArgumentNullException(); this.writer = processorLocator.GetProcessor <IWriter>() ?? throw new ArgumentNullException(); this.stockManager = processorLocator.GetProcessor <IStockManager>() ?? throw new ArgumentNullException(); this.modelValidator = processorLocator.GetProcessor <IValidateModel>() ?? throw new ArgumentNullException(); }
public BioSkyNetRepository( IProcessorLocator locator ) { _locator = locator; //if (contextFactory == null) // throw new ArgumentNullException("entityFrameworkContextFactory"); // _contextFactory = contextFactory; InitializeContext(); _photos = new PhotoDataHolder(locator); _fullPersons = new FullPersonHolder(locator); _fullVisitors = new FullVisitorHolder(locator); _fullLocations = new FullLocationHolder(locator); }
public Commerce9(IProcessorLocator processorLocator, IEnumerable <IPostOrderPlugin> plugins) { _ProcessorLocator = processorLocator; _Plugins = plugins; }
public Commerce7(IProcessorLocator processorLocator, IEnumerable<IPostOrderPlugin> plugins) { _ProcessorLocator = processorLocator; _Plugins = plugins; }
public WidgetController(IProcessorLocator processorLocator) { _processLocator = processorLocator; //widgets = dataRepository.GetWigdets().ToList(); //states = dataRepository.GetStates().ToList(); }
public Commerce3(IProcessorLocator processorLocator) { _ProcessorLocator = processorLocator; }
public BioDatabaseServiceImpl(IProcessorLocator locator) { _locator = locator; }
public Commerce2(IProcessorLocator processorLocator) { _ProcessorLocator = processorLocator; }
public BioServiceManager(IProcessorLocator locator) { _locator = locator; }
public Commerce3(IProcessorLocator processorLocator) { _processorLocator = processorLocator; }
// Named Instance public Commerce7(IProcessorLocator processorLocator, IPostOrderPlugin plugin) { _processorLocator = processorLocator; _plugin = plugin; }