public ExportToHtmlPlugin(
            IDocumentParser documentParser,
            IPluginSettingsProvider settingsProvider)
        {
            _documentParser   = documentParser;
            _settingsProvider = settingsProvider;

            _settings = _settingsProvider.GetSettings <ExportToHtmlPluginSettings>();
        }
        public ExportToHtmlPlugin(
            IDocumentParser documentParser,
            IPluginSettingsProvider settingsProvider)
        {
            _documentParser = documentParser;
            _settingsProvider = settingsProvider;

            _settings = _settingsProvider.GetSettings<ExportToHtmlPluginSettings>();
        }
        public SpellCheckPlugin(
            IPluginSettingsProvider settingsProvider,
            ISpellingService spellingService,
            ISpellCheckProviderFactory spellCheckProviderFactory)
        {
            _settingsProvider = settingsProvider;
            _spellingService = spellingService;
            _spellCheckProviderFactory = spellCheckProviderFactory;

            _settings = _settingsProvider.GetSettings<SpellCheckPluginSettings>();
            _spellingService.SetLanguage(_settings.Language);
        }
        public SpellCheckPlugin(
            IPluginSettingsProvider settingsProvider,
            ISpellingService spellingService,
            ISpellCheckProviderFactory spellCheckProviderFactory)
        {
            _settingsProvider          = settingsProvider;
            _spellingService           = spellingService;
            _spellCheckProviderFactory = spellCheckProviderFactory;

            _settings = _settingsProvider.GetSettings <SpellCheckPluginSettings>();
            _spellingService.SetLanguage(_settings.Language);
        }
Beispiel #5
0
        public ExamplePlugin(IPluginSettingsProvider settingsProvider)
        {
            _settingsProvider = settingsProvider;

            _settings = _settingsProvider.GetSettings <ExampleSettings>();
        }
		public ExamplePlugin(IPluginSettingsProvider settingsProvider)
		{
			_settingsProvider = settingsProvider;

			_settings = _settingsProvider.GetSettings<ExampleSettings>();
		}