Exemplo n.º 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);
        }
Exemplo n.º 2
0
 public TaskFactory(RadioModel radioModel,
                    LearningFactory learningFactory,
                    INetworkTaskManager networkTaskManager,
                    INetworkTaskListener networkTaskListener)
 {
     _model               = radioModel;
     _learningFactory     = learningFactory;
     _networkTaskManager  = networkTaskManager;
     _networkTaskListener = networkTaskListener;
 }