public RazorDecisionActivity(
     IOrchardServices orchardServices,
     IRazorExecuteService razorExecuteService,
     IWorkContextAccessor workContextAccessor)
 {
     _razorExecuteService = razorExecuteService;
     _orchardServices     = orchardServices;
     _workContextAccessor = workContextAccessor;
     T = NullLocalizer.Instance;
 }
 public RazorValidationPartDriver(
     IRazorExecuteService razorExecuteServices,
     IOrchardServices orchardServices,
     IWorkContextAccessor workContextAccessor)
 {
     _razorExecuteService = razorExecuteServices;
     _orchardServices     = orchardServices;
     _workContextAccessor = workContextAccessor;
     T = NullLocalizer.Instance;
 }
 public ScheduledTaskTasksHandler(IOrchardServices orchardServices,
                                  IScheduledTaskManager taskManager,
                                  IScheduledTaskService scheduledTaskService,
                                  IRepository <ScheduledTaskRecord> repoTasks,
                                  IWorkflowManager workflowManager,
                                  IRazorExecuteService razorExecuteService,
                                  ISweepGenerator sweepGenerator)
 {
     _orchardServices      = orchardServices;
     _taskManager          = taskManager;
     _scheduledTaskService = scheduledTaskService;
     _repoTasks            = repoTasks;
     _workflowManager      = workflowManager;
     _razorExecuteService  = razorExecuteService;
     _sweepGenerator       = sweepGenerator;
     Logger = NullLogger.Instance;
 }
Ejemplo n.º 4
0
 public RazorCodeExecutionToken(ICurrentContentAccessor currentContentAccessor, IRazorExecuteService razorExecuteService)
 {
     _currentContentAccessor = currentContentAccessor;
     _razorExecuteService    = razorExecuteService;
 }
Ejemplo n.º 5
0
 public RazorExecuteActivity(IOrchardServices services, IRazorExecuteService razorExecuteService)
 {
     _services            = services;
     _razorExecuteService = razorExecuteService;
 }