C# Class ArchiMetrics.CodeReview.Rules.Code.TooDeepNestingRuleBase

Inheritance: CodeEvaluationBase
Exibir arquivo Open project: jjrdk/ArchiMetrics

Protected Methods

Method Description
EvaluateImpl ( Microsoft.CodeAnalysis.SyntaxNode node ) : EvaluationResult
GetBody ( Microsoft.CodeAnalysis.SyntaxNode node ) : BlockSyntax
TooDeepNestingRuleBase ( ) : System.Collections.Generic
TooDeepNestingRuleBase ( int maxDepth ) : System.Collections.Generic

Private Methods

Method Description
GetBlocks ( Microsoft.CodeAnalysis.SyntaxNode node ) : IEnumerable
HasDeepNesting ( BlockSyntax block, int level ) : bool

Method Details

EvaluateImpl() protected method

protected EvaluateImpl ( Microsoft.CodeAnalysis.SyntaxNode node ) : EvaluationResult
node Microsoft.CodeAnalysis.SyntaxNode
return EvaluationResult

GetBody() protected abstract method

protected abstract GetBody ( Microsoft.CodeAnalysis.SyntaxNode node ) : BlockSyntax
node Microsoft.CodeAnalysis.SyntaxNode
return BlockSyntax

TooDeepNestingRuleBase() protected method

protected TooDeepNestingRuleBase ( ) : System.Collections.Generic
return System.Collections.Generic

TooDeepNestingRuleBase() protected method

protected TooDeepNestingRuleBase ( int maxDepth ) : System.Collections.Generic
maxDepth int
return System.Collections.Generic