C# Class ArchiMetrics.Analysis.Metrics.TypeClassCouplingAnalyzer

Inheritance: ClassCouplingAnalyzerBase
显示文件 Open project: jjrdk/ArchiMetrics Class Usage Examples

Public Methods

Method Description
Calculate ( Microsoft.CodeAnalysis.CSharp.Syntax.TypeDeclarationSyntax typeNode ) : IEnumerable
TypeClassCouplingAnalyzer ( Microsoft.CodeAnalysis.SemanticModel semanticModel ) : System.Collections.Generic
VisitClassDeclaration ( Microsoft.CodeAnalysis.CSharp.Syntax.ClassDeclarationSyntax node ) : void
VisitFieldDeclaration ( Microsoft.CodeAnalysis.CSharp.Syntax.FieldDeclarationSyntax node ) : void

Method Details

Calculate() public method

public Calculate ( Microsoft.CodeAnalysis.CSharp.Syntax.TypeDeclarationSyntax typeNode ) : IEnumerable
typeNode Microsoft.CodeAnalysis.CSharp.Syntax.TypeDeclarationSyntax
return IEnumerable

TypeClassCouplingAnalyzer() public method

public TypeClassCouplingAnalyzer ( Microsoft.CodeAnalysis.SemanticModel semanticModel ) : System.Collections.Generic
semanticModel Microsoft.CodeAnalysis.SemanticModel
return System.Collections.Generic

VisitClassDeclaration() public method

public VisitClassDeclaration ( Microsoft.CodeAnalysis.CSharp.Syntax.ClassDeclarationSyntax node ) : void
node Microsoft.CodeAnalysis.CSharp.Syntax.ClassDeclarationSyntax
return void

VisitFieldDeclaration() public method

public VisitFieldDeclaration ( Microsoft.CodeAnalysis.CSharp.Syntax.FieldDeclarationSyntax node ) : void
node Microsoft.CodeAnalysis.CSharp.Syntax.FieldDeclarationSyntax
return void