public HadithDocument Create(string generatedHadithsDirectory, string additionalHadithXRefsDirectory) { this.Document = new HadithDocument(); this.GeneratedHadithsDirectory = generatedHadithsDirectory; this.AdditionalHadithXRefsDirectory = additionalHadithXRefsDirectory; ReadHadithCollections(); return(Document); }
void CreateHadith() { Console.WriteLine("Loading Hadiths"); var factory = new HadithDocumentFactory(); Hadith = factory.Create( generatedHadithsDirectory: GeneratedHadithsDirectory, additionalHadithXRefsDirectory: AdditionalHadithXRefsDirectory ); }
void CreateHadith() { Logger.Debug("Loading Hadiths"); var factory = new HadithDocumentFactory(); Hadith = factory.Create( generatedHadithsDirectory: GeneratedHadithsDirectory, additionalHadithXRefsDirectory: AdditionalHadithXRefsDirectory ); }
public Document( QuranDocument quranDocument, HadithDocument hadithDocument, TafsirDocument tafsirDocument, WordsDocument rootWordsDocument, CorpusDocument corpusDocument, LexiconDocument lexiconDocument) { this.QuranDocument = quranDocument; this.HadithDocument = hadithDocument; this.TafsirDocument = tafsirDocument; this.RootWordsDocument = rootWordsDocument; this.CorpusDocument = corpusDocument; this.LexiconDocument = lexiconDocument; }