public ScintillaConfig(IScintillaConfigProvider provider) { if (provider == null) throw new Exception("IScintillaConfigProvider must be provided to the ScintillaConfig constructor!"); this.provider = provider; provider.PopulateScintillaConfig(this); }
public ScintillaConfig(IScintillaConfigProvider provider) { if (provider == null) { throw new Exception("IScintillaConfigProvider must be provided to the ScintillaConfig constructor!"); } this.provider = provider; provider.PopulateScintillaConfig(this); }
public LexerConfigCollection(IScintillaConfig parent, IScintillaConfigProvider provider) { if (provider == null) throw new Exception("IScintillaConfigProvider must be provided to the LexerConfigCollection constructor!"); if (parent == null) throw new Exception("The ScintillaConfig must be provided in the LexerConfigCollection constructor!"); this.parent = parent; this.provider = provider; }
public LanguageConfigCollection(IScintillaConfig parent, IScintillaConfigProvider provider, ILexerConfigCollection lexers) { if (provider == null) throw new Exception("IScintillaConfigProvider must be provided in the LanguageConfigCollection constructor!"); if (lexers == null) throw new Exception("The LexerConfigCollection must be provided in the LanguageConfigCollection constructor!"); if (parent == null) throw new Exception("The ScintillaConfig must be provided in the LanguageConfigCollection constructor!"); this.parent = parent; this.provider = provider; this.lexers = lexers; }
public LexerConfigCollection(IScintillaConfig parent, IScintillaConfigProvider provider) { if (provider == null) { throw new Exception("IScintillaConfigProvider must be provided to the LexerConfigCollection constructor!"); } if (parent == null) { throw new Exception("The ScintillaConfig must be provided in the LexerConfigCollection constructor!"); } this.parent = parent; this.provider = provider; }
public LanguageConfigCollection(IScintillaConfig parent, IScintillaConfigProvider provider, ILexerConfigCollection lexers) { if (provider == null) { throw new Exception("IScintillaConfigProvider must be provided in the LanguageConfigCollection constructor!"); } if (lexers == null) { throw new Exception("The LexerConfigCollection must be provided in the LanguageConfigCollection constructor!"); } if (parent == null) { throw new Exception("The ScintillaConfig must be provided in the LanguageConfigCollection constructor!"); } this.parent = parent; this.provider = provider; this.lexers = lexers; }
public ScintillaConfig() { this.provider = new ScintillaConfigProvider(); provider.PopulateScintillaConfig(this); }