コード例 #1
0
        public RoomPageViewModel(IRegionManager regionManager, INepalHajjCommitteeRepository repository) : base(regionManager)
        {
            _repository = repository;

            Cities = new List <string> {
                "Makkah", "Madinah"
            };
        }
コード例 #2
0
        public GroupPageViewModel(IRegionManager regionManager, INepalHajjCommitteeRepository repository) : base(regionManager)
        {
            _repository = repository;

            Years = new List <int> {
                2019, 2020, 2021, 2022, 2023, 2024, 2025, 2026, 2027, 2028, 2029, 2030
            };
        }
コード例 #3
0
        public PersonPageViewModel(IRegionManager regionManager, INepalHajjCommitteeRepository repository) : base(regionManager)
        {
            _repository = repository;

            Genders = new List <string> {
                "Male", "Female"
            };
        }
コード例 #4
0
        public ManageGroupViewModel(IRegionManager regionManager, INepalHajjCommitteeRepository repository) : base(regionManager)
        {
            _repository = repository;

            PropertyChanged += This_PropertyChanged;

            Years = new List <int> {
                2019, 2020, 2021, 2022, 2023, 2024, 2025, 2026, 2027, 2028, 2029, 2030
            };
        }
コード例 #5
0
 public RoomAllocationPageViewModel(IRegionManager regionManager, INepalHajjCommitteeRepository repository) : base(regionManager)
 {
     _repository = repository;
     Years       = new List <int> {
         2019, 2020, 2021, 2022, 2023, 2024, 2025, 2026, 2027, 2028, 2029, 2030
     };
     Cities = new List <string> {
         "Makkah", "Madinah"
     };
     PropertyChanged += This_PropertyChanged;
 }
コード例 #6
0
        public BusPageViewModel(IRegionManager regionManager, INepalHajjCommitteeRepository repository) : base(regionManager)
        {
            _repository = repository;
            Years       = new List <int> {
                2019, 2020, 2021, 2022, 2023, 2024, 2025, 2026, 2027, 2028, 2029, 2030
            };

            Routes = new List <string> {
                "Makkah to Madinah", "Makkah to Airport", "Madinah to Airport", "Madinah To Makkah"
            };
        }
コード例 #7
0
        public CheckinPageViewModel(IRegionManager regionManager, INepalHajjCommitteeRepository repository) : base(regionManager)
        {
            _dbRepository = repository;

            Years = new List <int> {
                2019, 2020, 2021, 2022, 2023, 2024, 2025, 2026, 2027, 2028, 2029, 2030
            };
            _selectedYear = DateTime.Now.Year;

            Cities = new List <string> {
                "Makkah", "Madinah"
            };

            PropertyChanged += This_PropertyChanged;
        }
コード例 #8
0
        public ReportPageViewModel(IRegionManager regionManager, INepalHajjCommitteeRepository repository) : base(regionManager)
        {
            _repository = repository;

            Years = new List <int> {
                2019, 2020, 2021, 2022, 2023, 2024, 2025, 2026, 2027, 2028, 2029, 2030
            };
            Genders = new List <string> {
                "Male", "Female"
            };
            FilterModel = new FilterModel {
                VisitYear = DateTime.Now.Year
            };
            ColumnVisibility = new ColumnVisibility();
        }
コード例 #9
0
 public BatchPageViewModel(IRegionManager regionManager, INepalHajjCommitteeRepository repository) : base(regionManager)
 {
     _repository = repository;
 }