public void TestSetup() { _billRepositoryMock = _mock.Mock <IBillRepository>(); _billUnitOfWorkMock = _mock.Mock <IBillUnitOfWork>(); _readingRepositoryMock = _mock.Mock <IReadingRepository>(); _readingService = _mock.Create <ReadingService>(); }
public BillUpdateModel(IBillService billService, ITenantService tenantService, IReadingService readingService, ILogger <BillUpdateModel> logger) { _billService = billService; _tenantService = tenantService; _readingService = readingService; _logger = logger; }
public ReadingQueryHandler( IReadingService readingService, IDistributedCache distributedCache) { this._readingService = readingService; this._distributedCache = distributedCache; }
public BillUpdateModel() { _billService = Startup.AutofacContainer.Resolve <IBillService>(); _tenantService = Startup.AutofacContainer.Resolve <ITenantService>(); _readingService = Startup.AutofacContainer.Resolve <IReadingService>(); _logger = Startup.AutofacContainer.Resolve <ILogger <BillUpdateModel> >(); }
public ReadingController(IReadingService readingService, ITenantService tenantService, IBillService billService, ILogger <ReadingController> logger) { _billService = billService; _tenantService = tenantService; _readingService = readingService; _logger = logger; }
public Service() { Logger.Log.Info("Incoming request..."); _context = new Context(); _readService = new ReadService(_context); _readerService = new ReaderService(_context); _readingService = new ReadingService(_context); _raceService = new RaceService(_context); _lastSeenLogService = new LastSeenLogService(_context); }
public LocalReadingsViewModel() { _context = new Context(); _raceService = new RaceService(_context); _readerService = new ReaderService(_context); _readingService = new ReadingService(_context); _readService = new ReadService(_context); Init(); }
public ReadingController(IReadingService readingService) { _readingService = readingService; }
public ReadingViewModel(IReadingService readingService, ITenantService tenantService) { _readingService = readingService; _tenantService = tenantService; }
public BillController(IBillService billService, ITenantService tenantService, IReadingService readingService) { _billService = billService; _tenantService = tenantService; _readingService = readingService; }
public ReadingUpdateModel(IReadingService readingService, ITenantService tenantService, ILogger <ReadingUpdateModel> logger) { _readingService = readingService; _tenantService = tenantService; _logger = logger; }
public MeterReadingsController(ILogger <MeterReadingsController> logger, IReadingService readingService) { _logger = logger; _readingService = readingService; }
public ReadingApiController(IReadingService readingService) { this._readingService = readingService; }
public ReadingController(IReadingService services, IMonitoringConverter converter) { _services = services; _converter = converter; }
public TenantViewModel() { _tenantService = Startup.AutofacContainer.Resolve <ITenantService>(); _readingService = Startup.AutofacContainer.Resolve <IReadingService>(); }
public TenantViewModel(ITenantService tenantService, IReadingService readingService) { _tenantService = tenantService; _readingService = readingService; }
public TenantController(ITenantService tenantService, IDocumentService documentService, IReadingService readingService) { _tenantService = tenantService; _documentService = documentService; _readingService = readingService; }