public PdfController(IPdfServices pdfServices, ITemplateService templateService, IOrchardServices orchardServices, ITokenizer tokenizer)
 {
     _pdfServices     = pdfServices;
     _tokenizer       = tokenizer;
     _templateService = templateService;
     _orchardServices = orchardServices;
     Logger           = NullLogger.Instance;
     T = NullLocalizer.Instance;
 }
Ejemplo n.º 2
0
 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();
 }
Ejemplo n.º 3
0
 public WordTextReplacementServices(IPdfServices pdfSvc)
 {
     _pdfSvc = pdfSvc;
 }
Ejemplo n.º 4
0
 //constructor
 public EventDetailsPageViewModel(ITimeServices timeServices, IEventServices eventServices, IPdfServices pdfServices)
 {
     this.TimeServices  = timeServices;
     this.EventServices = eventServices;
     this.PdfServices   = pdfServices;
     CreatePdfCommand   = new DelegateCommand(CreatePdfMethod);
     IsBusy             = true;
 }