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
definition
EventDefinitionThe 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
descriptor
IFieldDescriptorThe 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
reference
MemberReferenceThe 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
definition
MethodDefinitionThe 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
specification
MethodSpecificationThe 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
definition
PropertyDefinitionThe 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
type
ITypeDescriptorThe type to obtain the full name for.
Returns
- string
The full name.