Ejemplo n.º 1
0
        /// <summary>
        /// Analyzes source document.
        /// </summary>
        public void AnalyzeDocument(CodeDocument document)
        {
            CheckOriginalRule(document, Constants.LayoutRulesAnalyzerId, Rules.ElementMustNotBeOnSingleLine);
            CheckOriginalRule(document, Constants.LayoutRulesAnalyzerId, Rules.ClosingCurlyBracketMustBeFollowedByBlankLine);
            CheckOriginalRule(document, Constants.LayoutRulesAnalyzerId, Rules.ElementsMustBeSeparatedByBlankLine);

            m_customNamingAnalyzer.AnalyzeDocument(document);
            m_customLayoutAnalyzer.AnalyzeDocument(document);
            m_customDocumentationAnalyzer.AnalyzeDocument(document);
        }