示例#1
0
 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;
 }