public BookingService(SportsContext context, IBookingLineService bookingLineService, IBookingFormService bookingFormService, IPDFService <Booking> pdfService, ISpotService spotService) : base(context) { _bookingLineService = bookingLineService; _bookingFormService = bookingFormService; _pdfService = pdfService; _spotService = spotService; }
public TreatmentRecordController(IReportService reportService, ITreatmentRecordServices TreatmentRecordServices, IHospitalServices HospitalServices, IStateProvinceService StateProvinceService, IPermissionService permissionService, ITreatmentServices TreatmentServices, INurseServices NurseServices, IPDFService pDFService, ICompanyProfileService CompanyProfileService, IAppointmentServices AppointmentServices, IExcelService excelService, IEncryptionService encryptionService, IWordDocService WordDocService) : base(excelService: excelService) { this._reportService = reportService; this._treatmentRecordServices = TreatmentRecordServices; this._hospitalServices = HospitalServices; this._stateProvinceService = StateProvinceService; this._permissionService = permissionService; this._treatmentServices = TreatmentServices; this._nurseServices = NurseServices; this._pDFService = pDFService; this._appointmentServices = AppointmentServices; this._companyProfileService = CompanyProfileService; this._encryptionService = encryptionService; this._excelService = excelService; this._wordDocService = WordDocService; }
public CampaignController(ILogger <CampaignController> logger, ICampaignCRUDService campaignCRUDService, IPDFService pDFService) { _logger = logger; this.campaignCRUDService = campaignCRUDService; this.pDFService = pDFService; }
public GeneratorService(DatabaseContext context, IMapper mapper, IUtilsService utils, ILoggerService logger, IExcelService excelService, IPDFService pdfService) { this._context = context; this._mapper = mapper; this._utils = utils; this._logger = logger; this._excelService = excelService; this._pdfService = pdfService; }
public InvoiceService(IDBService dBService, IClientService clientService, IItemsService itemsService, IPDFService pdfService, ISettingsService settingsService, IPaymentsService paymentsService) : base(dBService) { ClientService = clientService; ItemsService = itemsService; PDFService = pdfService; SettingsService = settingsService; PaymentsService = paymentsService; AllItems = GetAllFromDB(); }
public FoodCourtController(ICinemaLocationService cinemaLocationService, IPDFService pdfService, IFoodAmountService foodAmountService, IFoodcourtCheckService foodcourtCheckService, IFoodcourtCheckProductService foodcourtCheckProductService, UserManager <Worker> userManager, SignInManager <Worker> signInManager) { this.cinemaLocationService = cinemaLocationService; this.foodcourtCheckService = foodcourtCheckService; this.pdfService = pdfService; this.foodAmountService = foodAmountService; this.foodcourtCheckProductService = foodcourtCheckProductService; this.userManager = userManager; this.signInManager = signInManager; }
public MovieController(IMovieService movieService, ICinemaLocationService cinemaLocationService, IPDFService pdfService, ITicketService ticketService, IWorkerService workerService, ITicketCheckService ticketcheckService, ICheckService checkService, IShowingService showingService, UserManager <Worker> userManager, SignInManager <Worker> signInManager) { this.workerService = workerService; this.cinemaLocationService = cinemaLocationService; this.movieService = movieService; this.pdfService = pdfService; this.ticketcheckService = ticketcheckService; this.checkService = checkService; this.ticketService = ticketService; this.showingService = showingService; this.userManager = userManager; this.signInManager = signInManager; }
public static void InstantiateServices() { SettingsService = new SettingsService(); DBService = new DBService(); PDFService = new PDFService(SettingsService); ClientService = new ClientService(DBService); ItemsService = new ItemsService(DBService); PaymentsService = new PaymentsService(DBService); InvoiceService = new InvoiceService(DBService, ClientService, ItemsService, PDFService, SettingsService, PaymentsService); ExpenseService = new ExpenseService(DBService, InvoiceService); BusinessStatsService = new BusinessStatsService(ClientService, InvoiceService, ExpenseService, PaymentsService); //DemoDataService = new DemoDataService(DBService, ClientService, ExpenseService, InvoiceService, ItemsService, PaymentsService); }
public DocumentationController(IRepositoryWrapper repoWrapper, UserManager<User> userManager, IAnnualReportVMInitializer annualReportVMCreator, IDecisionVMIitializer decisionVMCreator, IPDFService PDFService, IHostingEnvironment appEnvironment, IViewAnnualReportsVMInitializer viewAnnualReportsVMInitializer, ICityAccessManager cityAccessManager, IDirectoryManager directoryManager, IFileManager fileManager, IFileStreamManager fileStreamManager, ILogger<DocumentationController> logger) { _repoWrapper = repoWrapper; _annualReportVMCreator = annualReportVMCreator; _userManager = userManager; _PDFService = PDFService; _decisionVMCreator = decisionVMCreator; _appEnvironment = appEnvironment; _viewAnnualReportsVMInitializer = viewAnnualReportsVMInitializer; _directoryManager = directoryManager; _fileManager = fileManager; _fileStreamManager = fileStreamManager; _cityAccessManager = cityAccessManager; _logger = logger; }
// This method gets called by the runtime. Use this method to add services to the container. public void ConfigureServices(IServiceCollection services) { services.AddControllersWithViews(); services.AddDbContext <PlacesDbContext>(); //Register the types delivered by our custom AssemblyLoadContext var ddlName = "MyPDFLibrary"; var pdfAssembly = Path.Combine(AppContext.BaseDirectory, ddlName, ddlName + ".dll"); var isolated = new IsolatedLoadContext(pdfAssembly, new [] { typeof(IPDFService) }); var loadedPDF = isolated.LoadFromAssemblyName(new AssemblyName(Path.GetFileNameWithoutExtension(pdfAssembly))); var types = loadedPDF.GetTypes(); foreach (Type type in types) { if (typeof(IPDFService).IsAssignableFrom(type)) { IPDFService pdf = Activator.CreateInstance(type) as IPDFService; services.AddSingleton <IPDFService>(pdf); break; } } }
public LeagueController(ILeagueService leagueService, IPDFService pDFService, IMemoryCache memoryCache) { _leagueService = leagueService ?? throw new ArgumentNullException(nameof(leagueService)); _pDFService = pDFService ?? throw new ArgumentNullException(nameof(pDFService)); _memoryCache = memoryCache ?? throw new ArgumentNullException(nameof(memoryCache)); }
public MasteryController(IMasteryService masteryService, IPDFService pDFService, IMemoryCache memoryCache) { _masteryService = masteryService ?? throw new ArgumentNullException(nameof(masteryService)); _pDFService = pDFService ?? throw new ArgumentNullException(nameof(pDFService)); _memoryCache = memoryCache ?? throw new ArgumentNullException(nameof(memoryCache)); }
public ItemController(IItemService itemService, IPDFService pDFService, IMemoryCache memoryCache) { _itemService = itemService ?? throw new ArgumentNullException(nameof(itemService)); _pDFService = pDFService ?? throw new ArgumentNullException(nameof(pDFService)); _memoryCache = memoryCache ?? throw new ArgumentNullException(nameof(memoryCache)); }
public AlarmController(MyContext context, IConverter converter, IPDFService pDFService) { _context = context; _converter = converter; _PDFService = pDFService; }
public SpellController(ISpellService spellService, IPDFService pDFService, IMemoryCache memoryCache) { _spellService = spellService ?? throw new ArgumentNullException(nameof(spellService)); _pDFService = pDFService ?? throw new ArgumentNullException(nameof(pDFService)); _memoryCache = memoryCache ?? throw new ArgumentNullException(nameof(memoryCache)); }
public ValuesController(IPDFService pDFService) { _PDFService = pDFService; }
public TeamController(ITeamService teamService, IPDFService pDFService, IMemoryCache memoryCache) { _teamService = teamService ?? throw new ArgumentNullException(nameof(teamService)); _pDFService = pDFService ?? throw new ArgumentNullException(nameof(pDFService)); _memoryCache = memoryCache ?? throw new ArgumentNullException(nameof(memoryCache)); }
public ProjectController(IProjectService projectService, IPDFService pdfService, IContactService contactService) { _projectService = projectService; _PDFService = pdfService; _contactService = contactService; }
public MatchController(IMatchService matchService, IPDFService pDFService, IMemoryCache memoryCache) { this._matchService = matchService ?? throw new ArgumentNullException(nameof(matchService)); this._pDFService = pDFService ?? throw new ArgumentNullException(nameof(pDFService)); _memoryCache = memoryCache ?? throw new ArgumentNullException(nameof(memoryCache)); }
public ChampionController(IChampionService championService, IPDFService pDFService, IMemoryCache memoryCache) { _championService = championService ?? throw new ArgumentNullException(nameof(championService)); _pDFService = pDFService ?? throw new ArgumentNullException(nameof(pDFService)); _memoryCache = memoryCache ?? throw new ArgumentNullException(nameof(memoryCache)); }
public PDFController(IPDFService pdfGenerator, IInvoiceService invoiceService) { this._IPDFGenerator = pdfGenerator; this._IInvoiceService = invoiceService; }
public PdfController(IPDFService pdfService) { _pdfService = pdfService; }
public TournamentController(ITournamentService tournamentService, IPDFService pDFService, IMemoryCache memoryCache) { _tournamentService = tournamentService ?? throw new ArgumentNullException(nameof(tournamentService)); _pDFService = pDFService ?? throw new ArgumentNullException(nameof(pDFService)); _memoryCache = memoryCache ?? throw new ArgumentNullException(nameof(memoryCache)); }
public PlacesController(PlacesDbContext context, IPDFService pdfService) { _context = context; _pdfService = pdfService; }
public PlayerController(IPlayerService playerService, IPDFService pDFService, IMemoryCache memoryCache) { _playerService = playerService ?? throw new ArgumentNullException(nameof(playerService)); _pDFService = pDFService ?? throw new ArgumentNullException(nameof(pDFService)); _memoryCache = memoryCache ?? throw new ArgumentNullException(nameof(memoryCache)); }