C# Class ArchiMetrics.Analysis.Metrics.MemberNameResolver

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

Public Methods

Method Description
MemberNameResolver ( Microsoft.CodeAnalysis.SemanticModel semanticModel ) : System
TryResolveMemberSignatureString ( Microsoft.CodeAnalysis.SyntaxNode syntaxNode ) : string

Private Methods

Method Description
AppendMethodIdentifier ( Microsoft.CodeAnalysis.CSharp.Syntax.ConstructorDeclarationSyntax syntax, StringBuilder builder ) : void
AppendMethodIdentifier ( Microsoft.CodeAnalysis.CSharp.Syntax.DestructorDeclarationSyntax syntax, StringBuilder builder ) : void
AppendMethodIdentifier ( EventDeclarationSyntax syntax, StringBuilder builder ) : void
AppendMethodIdentifier ( Microsoft.CodeAnalysis.CSharp.Syntax.MethodDeclarationSyntax syntax, StringBuilder builder ) : void
AppendParameters ( Microsoft.CodeAnalysis.CSharp.Syntax.BaseMethodDeclarationSyntax syntax, StringBuilder builder ) : void
AppendParameters ( EventDeclarationSyntax syntax, StringBuilder builder ) : void
AppendReturnType ( Microsoft.CodeAnalysis.CSharp.Syntax.MethodDeclarationSyntax syntax, StringBuilder builder ) : void
AppendTypeParameters ( Microsoft.CodeAnalysis.CSharp.Syntax.MethodDeclarationSyntax syntax, StringBuilder builder ) : void
GetAddEventHandlerSignatureString ( Microsoft.CodeAnalysis.CSharp.Syntax.AccessorDeclarationSyntax accessor ) : string
GetConstructorSignatureString ( Microsoft.CodeAnalysis.CSharp.Syntax.ConstructorDeclarationSyntax syntax ) : string
GetDestructorSignatureString ( Microsoft.CodeAnalysis.CSharp.Syntax.DestructorDeclarationSyntax syntax ) : string
GetMethodIdentifier ( Microsoft.CodeAnalysis.CSharp.Syntax.PropertyDeclarationSyntax syntax ) : string
GetMethodSignatureString ( Microsoft.CodeAnalysis.CSharp.Syntax.MethodDeclarationSyntax syntax ) : string
GetParameters ( BasePropertyDeclarationSyntax syntax ) : string
GetPropertyGetterSignatureString ( Microsoft.CodeAnalysis.CSharp.Syntax.AccessorDeclarationSyntax syntax ) : string
GetPropertySetterSignatureString ( Microsoft.CodeAnalysis.CSharp.Syntax.AccessorDeclarationSyntax syntax ) : string
GetRemoveEventHandlerSignatureString ( Microsoft.CodeAnalysis.CSharp.Syntax.AccessorDeclarationSyntax accessor ) : string
GetReturnType ( BasePropertyDeclarationSyntax syntax ) : string
ResolveTypeName ( ITypeSymbol symbol ) : string
TypeNameSelector ( Microsoft.CodeAnalysis.CSharp.Syntax.ParameterSyntax x ) : string

Method Details

MemberNameResolver() public method

public MemberNameResolver ( Microsoft.CodeAnalysis.SemanticModel semanticModel ) : System
semanticModel Microsoft.CodeAnalysis.SemanticModel
return System

TryResolveMemberSignatureString() public method

public TryResolveMemberSignatureString ( Microsoft.CodeAnalysis.SyntaxNode syntaxNode ) : string
syntaxNode Microsoft.CodeAnalysis.SyntaxNode
return string