public EditGroupViewModel(IEventAggregator eventAggregator, ITaskGroupModel groupModel) { _eventAggregator = eventAggregator; _groupModel = groupModel; CreateNew(); _eventAggregator.Subscribe(this); }
public ListGroupViewModel(TaskGroupEntity groupEntity, ITaskGroupModel groupModel, EntityToVmConverter entityToVmConverter, IEventAggregator eventAggregator) { GroupEntity = groupEntity; _groupModel = groupModel; _entityToVmConverter = entityToVmConverter; _eventAggregator = eventAggregator; eventAggregator.Subscribe(this); }
public TaskGroupListViewModel(ITaskModel taskModel, ITaskGroupModel groupModel, IEventAggregator eventAggregator, EntityToVmConverter vmConverter, List <IBaseModel> models) { _taskModel = taskModel; _groupModel = groupModel; _eventAggregator = eventAggregator; _vmConverter = vmConverter; _models = models; eventAggregator.Subscribe(this); }
public EntityToVmConverter(ITaskModel taskModel, ITaskGroupModel groupModel, IEventAggregator eventAggregator) { _taskModel = taskModel; _groupModel = groupModel; _eventAggregator = eventAggregator; }
public TaskModel(IDbRepository <TaskEntity> taskRepository, ITaskGroupModel groupModel) { _taskRepository = taskRepository; _groupModel = groupModel; }