public PdfController(IPdfServices pdfServices, ITemplateService templateService, IOrchardServices orchardServices, ITokenizer tokenizer) { _pdfServices = pdfServices; _tokenizer = tokenizer; _templateService = templateService; _orchardServices = orchardServices; Logger = NullLogger.Instance; T = NullLocalizer.Instance; }
public MainPageViewModel(INavigationService navigationService, ISQLite dbservices, IEventServices eventServices, IPdfServices pdfServices) : base(navigationService) { Title = "Main Menu"; NavigateToRunnerPageCommand = new DelegateCommand(NavigateToRunnerPage); DeleteAllCommand = new DelegateCommand(DeleteAllMethod); NavigateToEventsPageCommand = new DelegateCommand(NavigateToEventsPage); this.navigationService = navigationService; this.dbservices = dbservices; Connection = dbservices.GetConnection(); dbservices.CreateTables(Connection); this.EventServices = eventServices; GetNotRanEvents(); }
public WordTextReplacementServices(IPdfServices pdfSvc) { _pdfSvc = pdfSvc; }
//constructor public EventDetailsPageViewModel(ITimeServices timeServices, IEventServices eventServices, IPdfServices pdfServices) { this.TimeServices = timeServices; this.EventServices = eventServices; this.PdfServices = pdfServices; CreatePdfCommand = new DelegateCommand(CreatePdfMethod); IsBusy = true; }