コード例 #1
0
ファイル: HadithsViewModel.cs プロジェクト: shahaab/QuranX
 public HadithsViewModel(
     HadithIndexHeaderViewModel hadithIndexHeaderViewModel,
     IEnumerable <HadithViewModel> hadiths)
 {
     HadithIndexHeaderViewModel = hadithIndexHeaderViewModel;
     Hadiths = hadiths.ToList().AsReadOnly();
 }
コード例 #2
0
 public BrowseHadithIndexViewModel(
     HadithIndexHeaderViewModel hadithIndexHeaderViewModel,
     string nextReferencePartName,
     IEnumerable <string> nextReferencePartValueSelection)
 {
     HadithIndexHeaderViewModel      = hadithIndexHeaderViewModel;
     NextReferencePartName           = nextReferencePartName;
     NextReferencePartValueSelection = nextReferencePartValueSelection;
 }