Exemple #1
0
        public ManagementUnitModel(ITestDataDal iTestDataDal,
                                   IManagementUnitStore iManagementUnitStore,
                                   IMenuStore iMenuStore,
                                   ISelectedManagementUnit iSelectedManagementUnit,
                                   IMyEventAggregator iMyEventAggregator
                                   )
        {
            _testDataDal             = iTestDataDal;
            _managementUnitStore     = iManagementUnitStore;
            _iSelectedManagementUnit = iSelectedManagementUnit;
            _myEventAggregator       = iMyEventAggregator;
            _myEventAggregator.Subscribe(this);

            var cbItems = iMenuStore.GetApplications();

            _comboBoxOptions.Clear();
            foreach (var p in cbItems)
            {
                _comboBoxOptions.Add(p);
            }

            LoadManagementUnitsAsync();

            this.PropertyChanged += ManagementUnitModel_PropertyChanged;
        }
Exemple #2
0
        public PropertyModel(ITestDataDal iTestDataDal, IManagementUnitStore iManagementUnitStore)
        {
            _testDataDal         = iTestDataDal;
            _managementUnitStore = iManagementUnitStore;

            Debug.WriteLine("loading properties");
            LoadPropertyList();
        }
Exemple #3
0
 public MapsModel(ITestDataDal iTestDataDal)
 {
     _idal = iTestDataDal;
 }
Exemple #4
0
 public ReportsModel(ITestDataDal iTestDataDal)
 {
     _idal = iTestDataDal;
 }
Exemple #5
0
 public AdministrativeAreaModel(ITestDataDal idTestDataDal)
 {
     _idal = idTestDataDal;
 }
 public ManagementPlanModel(ITestDataDal iTestDataDal)
 {
     _iTestDataDal = iTestDataDal;
 }
Exemple #7
0
 public TreePlantingModel(ITestDataDal idal)
 {
     _idal = idal;
 }
 public PublicInformationModel(ITestDataDal iTestDataDal)
 {
     _idal = iTestDataDal;
 }
Exemple #9
0
 public SafetyModel(ITestDataDal iTestDataDal)
 {
     _idal = iTestDataDal;
 }
 public InternalAuditModel(ITestDataDal iTestDataDal)
 {
     _idal = iTestDataDal;
 }
Exemple #11
0
 public DocumentsModel(ITestDataDal iTestDataDal)
 {
     _testDataDal = iTestDataDal;
 }