C# Класс ArchiMetrics.Analysis.CodeMetricsCalculator

Наследование: ICodeMetricsCalculator
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Calculate ( IEnumerable syntaxTrees ) : Task>
Calculate ( Microsoft.CodeAnalysis.Project project, Solution solution ) : Task>
CodeMetricsCalculator ( ) : Common.System
CodeMetricsCalculator ( ITypeDocumentation>.IAsyncFactory typeDocumentationFactory, IMemberDocumentation>.IAsyncFactory memberDocumentationFactory ) : Common.System

Приватные методы

Метод Описание
AddToCompilation ( Compilation compilation, Microsoft.CodeAnalysis.SyntaxTree tree ) : SyntaxTree>.Tuple
CalculateMemberMetrics ( Compilation compilation, TypeDeclaration typeNodes, Solution solution ) : IEnumerable>>.Task
CalculateNamespaceMetrics ( IEnumerable namespaceDeclarations, Compilation compilation, Solution solution ) : Task>
CalculateNamespaceMetrics ( Compilation compilation, ArchiMetrics.Analysis.Metrics.NamespaceDeclaration namespaceNodes, IEnumerable typeMetrics ) : Task
CalculateTypeMetrics ( Compilation compilation, ArchiMetrics.Analysis.Metrics.NamespaceDeclaration namespaceNodes, Solution solution ) : IEnumerable>>.Task
CalculateTypeMetrics ( Solution solution, Compilation compilation, TypeDeclaration typeNodes, IEnumerable memberMetrics ) : ITypeMetric>>.Task
GetNamespaceDeclarations ( Microsoft.CodeAnalysis.Project project ) : Task>
GetTypeDeclarations ( ArchiMetrics.Analysis.Metrics.NamespaceDeclaration namespaceDeclaration ) : IEnumerable
IsGeneratedCodeFile ( Microsoft.CodeAnalysis.Document doc, IEnumerable patterns ) : bool
VerifyCompilation ( Compilation compilation, NamespaceDeclarationSyntaxInfo namespaceNode ) : Task>
VerifyCompilation ( Compilation compilation, TypeDeclarationSyntaxInfo typeNode ) : Task>

Описание методов

Calculate() публичный Метод

public Calculate ( IEnumerable syntaxTrees ) : Task>
syntaxTrees IEnumerable
Результат Task>

Calculate() публичный Метод

public Calculate ( Microsoft.CodeAnalysis.Project project, Solution solution ) : Task>
project Microsoft.CodeAnalysis.Project
solution Solution
Результат Task>

CodeMetricsCalculator() публичный Метод

public CodeMetricsCalculator ( ) : Common.System
Результат Common.System

CodeMetricsCalculator() публичный Метод

public CodeMetricsCalculator ( ITypeDocumentation>.IAsyncFactory typeDocumentationFactory, IMemberDocumentation>.IAsyncFactory memberDocumentationFactory ) : Common.System
typeDocumentationFactory ITypeDocumentation>.IAsyncFactory
memberDocumentationFactory IMemberDocumentation>.IAsyncFactory
Результат Common.System