Class MemberNameGenerator
- Namespace
- AsmResolver.DotNet
- Assembly
- AsmResolver.DotNet.dll
Provides methods for constructing the full name of a member in a .NET module.
public sealed class MemberNameGenerator : ITypeSignatureVisitor<StringBuilder, StringBuilder>
- Inheritance
-
MemberNameGenerator
- Implements
- Inherited Members
Methods
GetEventFullName(EventDefinition)
Computes the full name of a event definition, including its declaring type's full name, as well as its event type.
public static string GetEventFullName(EventDefinition definition)
Parameters
definitionEventDefinitionThe event
Returns
- string
The full name
GetFieldFullName(IFieldDescriptor)
Computes the full name of a field definition, including its declaring type's full name, as well as its field type.
public static string GetFieldFullName(IFieldDescriptor descriptor)
Parameters
descriptorIFieldDescriptorThe field
Returns
- string
The full name
GetMethodFullName(MemberReference)
Computes the full name of a method reference, including its declaring type's full name, as well as its return type and parameters.
public static string GetMethodFullName(MemberReference reference)
Parameters
referenceMemberReferenceThe reference
Returns
- string
The full name
GetMethodFullName(MethodDefinition)
Computes the full name of a method definition, including its declaring type's full name, as well as its return type, parameters and any type arguments.
public static string GetMethodFullName(MethodDefinition definition)
Parameters
definitionMethodDefinitionThe definition
Returns
- string
The full name
GetMethodFullName(MethodSpecification)
Computes the full name of a method specification, including its declaring type's full name, as well as its return type, parameters and any type arguments.
public static string GetMethodFullName(MethodSpecification specification)
Parameters
specificationMethodSpecificationThe specification
Returns
- string
The full name
GetPropertyFullName(PropertyDefinition)
Computes the full name of a property definition, including its declaring type's full name, as well as its return type and parameters.
public static string GetPropertyFullName(PropertyDefinition definition)
Parameters
definitionPropertyDefinitionThe property
Returns
- string
The full name
GetTypeFullName(ITypeDescriptor)
Computes the full name of a type descriptor, including its namespace and/or declaring types.
public static string GetTypeFullName(ITypeDescriptor type)
Parameters
typeITypeDescriptorThe type to obtain the full name for.
Returns
- string
The full name.