public TasksModule(AppValueProvider appValue) { this.appValue = appValue; DataAgent = new DataAgent(appValue); Name = "Tasks"; Commands = new List<Logic.Commands.ICommand>(new[]{ new TasksCommand(DataAgent) }); }
public DataAgent(AppValueProvider valueProvider) { this.source = new XmlDataSource<ItemsDb>(); this.appValueProvider = valueProvider; }