Пример #1
0
 public TasksModule(AppValueProvider appValue)
 {
     this.appValue = appValue;
     DataAgent = new DataAgent(appValue);
     Name = "Tasks";
     Commands = new List<Logic.Commands.ICommand>(new[]{
         new TasksCommand(DataAgent)
     });
 }
Пример #2
0
 public DataAgent(AppValueProvider valueProvider)
 {
     this.source = new XmlDataSource<ItemsDb>();
     this.appValueProvider = valueProvider;
 }