예제 #1
0
        public TasksBl(RadioModel model,
                       INetworkTaskManager networkTaskManager,
                       INetworkTaskListener networkTaskListener,
                       TaskDataContext dataContext = null)
        {
            DataContext = dataContext ?? new TaskDataContext();
            var learningFactory = new LearningFactory();

            _taskFactory = new TaskFactory(model, learningFactory, networkTaskManager, networkTaskListener);
        }
예제 #2
0
 public DataContextBuilder(TaskDataContext taskDataContext)
 {
     _taskDataContext = taskDataContext;
 }