public ActionsController() { _instancesService = new InstancesService(); _tasksService = new TasksService(); _utility = new Utility(); }
private DocumentPublishProcess(IContentService contentService, IInstancesService instancesService) { _contentService = contentService; _instancesService = instancesService; Type = WorkflowType.Publish; }
public ActionsController(UmbracoContext umbracoContext) : base(umbracoContext) { _instancesService = new InstancesService(); _tasksService = new TasksService(); _utility = new Utility(); }
public ActionsController(UmbracoContext umbracoContext) : base(umbracoContext) { _instancesService = new InstancesService(); _tasksService = new TasksService(); _utility = new Utility(); _hubContext = GlobalHost.ConnectionManager.GetHubContext <PlumberHub>(); }
public TasksController() { _tasksService = new TasksService(); _settingsService = new SettingsService(); _configService = new ConfigService(); _instancesService = new InstancesService(); _groupService = new GroupService(); }
public ActionsController(IInstancesService instancesService, ITasksService tasksService) { _instancesService = instancesService; _tasksService = tasksService; _utility = new Utility(); _hubContext = GlobalHost.ConnectionManager.GetHubContext <PlumberHub>(); }
public TasksController() { _tasksService = new TasksService(); _settingsService = new SettingsService(); _instancesService = new InstancesService(); _groupService = new GroupService(); _utility = new Utility(); }
public TasksController(UmbracoContext umbracoContext, UmbracoHelper umbracoHelper) : base(umbracoContext, umbracoHelper) { _tasksService = new TasksService(); _settingsService = new SettingsService(); _instancesService = new InstancesService(); _groupService = new GroupService(); _utility = new Utility(); }
private DocumentUnpublishProcess(IContentService contentService, IInstancesService instancesService, Notifications notifications, Utility utility) { _contentService = contentService; _instancesService = instancesService; _notifications = notifications; _utility = utility; Type = WorkflowType.Unpublish; }
public InstancesServiceTests() { Host.Run(new[] { "install y" }).Wait(); Scaffold.Run(); Scaffold.Config(); _service = new InstancesService(); }
private DocumentPublishProcess(IContentService contentService, IInstancesService instancesService, Emailer emailer, Utility utility) { _contentService = contentService; _instancesService = instancesService; _emailer = emailer; _utility = utility; Type = WorkflowType.Publish; }
public TasksServiceTests() { Host.Run(new[] { "install y" }).Wait(); Scaffold.Tables(); _context = Scaffold.EnsureContext(); _service = new TasksService(); _instancesService = new InstancesService(); }
private DocumentUnpublishProcess(IContentService contentService, ILocalizedTextService textService, IInstancesService instancesService, Emailer emailer, Utility utility) { _contentService = contentService; _textService = textService; _instancesService = instancesService; _emailer = emailer; _utility = utility; Type = WorkflowType.Unpublish; }
protected WorkflowProcess() { _configService = new ConfigService(); _groupService = new GroupService(); _instancesService = new InstancesService(); _settingsService = new SettingsService(); _tasksService = new TasksService(); _settings = _settingsService.GetSettings(); }
public InstancesServiceTests() { Host.Run(new[] { "install y" }).Wait(); Scaffold.Run(); Scaffold.Config(); Scaffold.ContentType(ApplicationContext.Current.Services.ContentTypeService); _service = new InstancesService(); _tasksService = new TasksService(); }
protected WorkflowProcess() { _configService = new ConfigService(); _groupService = new GroupService(); _instancesService = new InstancesService(); _settingsService = new SettingsService(); _tasksService = new TasksService(); _emailer = new Emailer(); _utility = new Utility(); _settings = _settingsService.GetSettings(); }
protected WorkflowProcess() { _configService = new ConfigService(); _groupService = new GroupService(); _instancesService = new InstancesService(); _settingsService = new SettingsService(); _tasksService = new TasksService(); _notifications = new Notifications(); _utility = new Utility(); _settings = _settingsService.GetSettings(); }
public PreviewServiceTests() { Host.Run(new[] { "install y" }).Wait(); Scaffold.Run(); // even though it's not being used, this needs to stay _mocker = new ContextMocker(); _previewService = new PreviewService(); _tasksService = new TasksService(); _instancesService = new InstancesService(); }
public TasksControllerTests() { Host.Run(new[] { "install y" }).Wait(); Scaffold.Run(); _contentService = ApplicationContext.Current.Services.ContentService; _contentTypeService = ApplicationContext.Current.Services.ContentTypeService; _tasksService = new TasksService(); _instancesService = new InstancesService(); _configService = new ConfigService(); _tasksController = new TasksController { Request = new HttpRequestMessage(), Configuration = new HttpConfiguration() }; }
public DodgyTestsController() { _instancesService = new InstancesService(); _notifications = new Notifications(); _utility = new Utility(); }
public InstancesController(IInstancesService instancesService) { _instancesService = instancesService; }
public InstancesController() { _instancesService = new InstancesService(); }
public TasksController(ITasksService tasksService, IInstancesService instancesService, IGroupService groupService) { _tasksService = tasksService; _instancesService = instancesService; _groupService = groupService; }
public DodgyTestsController() { _instancesService = new InstancesService(); }