private void InitializeDataAccess(IContext context) { _sequenceDataAccess = new SequenceDataAccess(context); _scriptDataAccess = new ScriptDataAccess(context); _sequenceScriptDataAccess = new SequenceScriptDataAccess(context); _taskDataAccess = new TaskDataAccess(context); _taskScriptDataAccess = new TaskScriptDataAccess(context); _taskScriptParameterDataAccess = new TaskScriptParameterDataAccess(context); }
public void Cleanup() { _taskDataAccess = null; _taskManager = null; _parseThroughput = null; }
public void Setup(BenchmarkContext context) { _parseThroughput = context.GetCounter(ParseThroughputCounterName); _taskDataAccess = new TaskDataAccess(); _taskManager = new TaskManager(_taskDataAccess); }
public TaskRemoveService(ITaskDataAccess taskDataAccess) { TaskDataAccess = taskDataAccess; }
private void InitializeDataAccess(IContext context) { _projectDataAccess = new ProjectDataAccess(context); _scriptDataAccess = new ScriptDataAccess(context); _taskDataAccess = new TaskDataAccess(context); }
public TaskCreateService(ITaskDataAccess TaskDataAccess, ICategoryGetService CategoryGetService) { this.TaskDataAccess = TaskDataAccess; this.CategoryGetService = CategoryGetService; }
private void InitializeDataAccess(IContext context) { _taskDataAccess = new TaskDataAccess(context); _taskScriptDataAccess = new TaskScriptDataAccess(context); _packageCacheDataAccess = new PackageCacheDataAccess(context); }
public TaskManager(ITaskDataAccess taskDataAccess) { _taskDataAccess = taskDataAccess; }
public TaskGetService(ITaskDataAccess taskDataAccess) { this.TaskDataAccess = taskDataAccess; }
public TaskUpdateService(ITaskDataAccess taskDataAccess, ICategoryGetService categoryGetService) { this.TaskDataAccess = taskDataAccess; this.CategoryGetService = categoryGetService; }
/// <summary> /// This is how a component defines that its /// dependencies /// </summary> /// <param name="taskDataAccess">A service that we need /// in order to do our work</param> public TaskService(ITaskDataAccess taskDataAccess) { this.taskDataAccess = taskDataAccess; }