public override void Init(Action <IServiceCollection> registerServicesAction = null)
        {
            base.Init(registerServicesAction);

            this.versePointerFactory = ServiceProvider.GetService <IVersePointerFactory>();
            this.documentProvider    = ServiceProvider.GetService <IDocumentProvider>();
        }
Esempio n. 2
0
        public void Init()
        {
            base.Init();

            _versePointerFactory    = ServiceProvider.GetService <IVersePointerFactory>();
            _verseCorrectionService = ServiceProvider.GetService <IVerseCorrectionService>();
        }
        public void Init()
        {
            documentParseContext = new DocumentParseContext();
            base.Init(services => services.AddScoped(sp => documentParseContext));

            documentProvider      = new MockDocumentProviderInfo(ServiceProvider.GetService <IVerseLinkService>());
            versePointerFactory   = ServiceProvider.GetService <IVersePointerFactory>();
            documentParserFactory = ServiceProvider.GetService <IDocumentParserFactory>();
        }