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

Inheritance: IEvaluation
Show file Open project: jjrdk/ArchiMetrics

Protected Methods

Method Description
FindClassParent ( Microsoft.CodeAnalysis.SyntaxNode node ) : Microsoft.CodeAnalysis.CSharp.Syntax.TypeDeclarationSyntax
FindMethodParent ( Microsoft.CodeAnalysis.SyntaxNode node ) : Microsoft.CodeAnalysis.SyntaxNode
FindNamespaceParent ( Microsoft.CodeAnalysis.SyntaxNode node ) : Microsoft.CodeAnalysis.CSharp.Syntax.NamespaceDeclarationSyntax
GetLinesOfCode ( Microsoft.CodeAnalysis.SyntaxNode node ) : int
GetNamespace ( Microsoft.CodeAnalysis.SyntaxNode node ) : string
GetNodeType ( Microsoft.CodeAnalysis.SyntaxNode node ) : string>.Tuple

Method Details

FindClassParent() protected method

protected FindClassParent ( Microsoft.CodeAnalysis.SyntaxNode node ) : Microsoft.CodeAnalysis.CSharp.Syntax.TypeDeclarationSyntax
node Microsoft.CodeAnalysis.SyntaxNode
return Microsoft.CodeAnalysis.CSharp.Syntax.TypeDeclarationSyntax

FindMethodParent() protected static method

protected static FindMethodParent ( Microsoft.CodeAnalysis.SyntaxNode node ) : Microsoft.CodeAnalysis.SyntaxNode
node Microsoft.CodeAnalysis.SyntaxNode
return Microsoft.CodeAnalysis.SyntaxNode

FindNamespaceParent() protected method

protected FindNamespaceParent ( Microsoft.CodeAnalysis.SyntaxNode node ) : Microsoft.CodeAnalysis.CSharp.Syntax.NamespaceDeclarationSyntax
node Microsoft.CodeAnalysis.SyntaxNode
return Microsoft.CodeAnalysis.CSharp.Syntax.NamespaceDeclarationSyntax

GetLinesOfCode() protected method

protected GetLinesOfCode ( Microsoft.CodeAnalysis.SyntaxNode node ) : int
node Microsoft.CodeAnalysis.SyntaxNode
return int

GetNamespace() protected static method

protected static GetNamespace ( Microsoft.CodeAnalysis.SyntaxNode node ) : string
node Microsoft.CodeAnalysis.SyntaxNode
return string

GetNodeType() protected static method

protected static GetNodeType ( Microsoft.CodeAnalysis.SyntaxNode node ) : string>.Tuple
node Microsoft.CodeAnalysis.SyntaxNode
return string>.Tuple