/// <summary> /// Initializes an add-in. /// </summary> public void InitializeAddIn() { m_customCore = new StyleCopCore(); m_customCore.ViolationEncountered += OnCustomViolationEncountered; m_customNamingAnalyzer = new CustomNamingRules(); m_customLayoutAnalyzer = new CustomLayoutRules(); m_customDocumentationAnalyzer = new CustomDocumentationRules(); InitializeCustomAnalyzer( m_parent.Core, m_customCore, Constants.NamingRulesAnalyzerId, m_customNamingAnalyzer); InitializeCustomAnalyzer( m_parent.Core, m_customCore, Constants.LayoutRulesAnalyzerId, m_customLayoutAnalyzer); InitializeCustomAnalyzer( m_parent.Core, m_customCore, Constants.DocumentationRulesAnalyzerId, m_customDocumentationAnalyzer); }