C# Class ArchiMetrics.Analysis.Metrics.SyntaxMetricsCalculator

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

Public Methods

Method Description
Calculate ( Microsoft.CodeAnalysis.SyntaxNode root ) : IEnumerable
Calculate ( string code ) : IEnumerable

Private Methods

Method Description
IsGetProperty ( Microsoft.CodeAnalysis.SyntaxNode n ) : bool
IsSetProperty ( Microsoft.CodeAnalysis.SyntaxNode n ) : bool

Method Details

Calculate() public method

public Calculate ( Microsoft.CodeAnalysis.SyntaxNode root ) : IEnumerable
root Microsoft.CodeAnalysis.SyntaxNode
return IEnumerable

Calculate() public method

public Calculate ( string code ) : IEnumerable
code string
return IEnumerable