Esempio n. 1
0
        public static MajorIndexListingViewModel LoadMajorIndexViewModel(IMajorIndexService majorIndexService)
        {
            MajorIndexListingViewModel majorIndexViewModel = new MajorIndexListingViewModel(majorIndexService);

            majorIndexViewModel.LoadMajorIndexes();
            return(majorIndexViewModel);
        }
Esempio n. 2
0
        public static MajorIndexListingViewModel LoadMajorIndexViewModel(IMajorIndexService majorIndexService)
        {
            MajorIndexListingViewModel majorIndexViewModel = new MajorIndexListingViewModel(majorIndexService);

            majorIndexViewModel.LoadMajorIndexesCommand.Execute(null);

            return(majorIndexViewModel);
        }
 public HomeViewModel(MajorIndexListingViewModel majorIndexListingViewModel)
 {
     MajorIndexListingViewModel = majorIndexListingViewModel;
 }
Esempio n. 4
0
 public HomeViewModel(AssetSummaryViewModel assetSummaryViewModel, MajorIndexListingViewModel majorIndexListingViewModel)
 {
     AssetSummaryViewModel      = assetSummaryViewModel;
     MajorIndexListingViewModel = majorIndexListingViewModel;
 }
Esempio n. 5
0
 public HomeViewModel(MajorIndexListingViewModel majorIndexViewModel, AssetSummaryViewModel assetSummaryViewModel)
 {
     MajorIndexListingViewModel = majorIndexViewModel;
     AssetSummaryViewModel      = assetSummaryViewModel;
 }