Example #1
0
        public static MajorIndexListingViewModel LoadMajorIndexViewModel(IMajorIndexService majorIndexService)
        {
            MajorIndexListingViewModel majorIndexViewModel = new MajorIndexListingViewModel(majorIndexService);

            majorIndexViewModel.LoadMajorIndexes();
            return(majorIndexViewModel);
        }
Example #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;
 }
Example #4
0
 public HomeViewModel(AssetSummaryViewModel assetSummaryViewModel, MajorIndexListingViewModel majorIndexListingViewModel)
 {
     AssetSummaryViewModel      = assetSummaryViewModel;
     MajorIndexListingViewModel = majorIndexListingViewModel;
 }
 public HomeViewModel(MajorIndexListingViewModel majorIndexViewModel, AssetSummaryViewModel assetSummaryViewModel)
 {
     MajorIndexListingViewModel = majorIndexViewModel;
     AssetSummaryViewModel      = assetSummaryViewModel;
 }