예제 #1
0
 public HadithDocument Create(string generatedHadithsDirectory, string additionalHadithXRefsDirectory)
 {
     this.Document = new HadithDocument();
     this.GeneratedHadithsDirectory      = generatedHadithsDirectory;
     this.AdditionalHadithXRefsDirectory = additionalHadithXRefsDirectory;
     ReadHadithCollections();
     return(Document);
 }
예제 #2
0
        void CreateHadith()
        {
            Console.WriteLine("Loading Hadiths");
            var factory = new HadithDocumentFactory();

            Hadith = factory.Create(
                generatedHadithsDirectory: GeneratedHadithsDirectory,
                additionalHadithXRefsDirectory: AdditionalHadithXRefsDirectory
                );
        }
예제 #3
0
        void CreateHadith()
        {
            Logger.Debug("Loading Hadiths");
            var factory = new HadithDocumentFactory();

            Hadith = factory.Create(
                generatedHadithsDirectory: GeneratedHadithsDirectory,
                additionalHadithXRefsDirectory: AdditionalHadithXRefsDirectory
                );
        }
예제 #4
0
파일: Document.cs 프로젝트: shahaab/QuranX
 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;
 }