Exemplo n.º 1
0
 public NewProductionBatchViewModel(Services.EveProfiteerRepository eveProfiteerRepository)
 {
     _eveProfiteerRepository = eveProfiteerRepository;
     DisplayName             = "New production batch";
     ProductionDate          = DateTime.UtcNow;
     Blueprints           = _eveProfiteerRepository.GetBlueprints().AsNoTracking().ToList();
     PropertyChanged     += OnPropertyChanged;
     Blueprint            = Blueprints.First();
     _dataErrorInfoHelper = new DataErrorInfoHelper(this);
     Runs = 1;
 }