PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Code­Model Namespace / Write­Reflection­Name­Extensions Class

WriteReflectionNameExtensions Class

Extension methods for the interface IWriteReflectionName.
Inheritance Hierarchy
System.Object
  PostSharp.Sdk.CodeModel.WriteReflectionNameExtensions

Namespace:  PostSharp.Sdk.CodeModel
Assembly:  PostSharp.Compiler.Engine (in PostSharp.Compiler.Engine.dll) Version: 6.10.14.0 (6.10.14.0)
Syntax
C#
public static class WriteReflectionNameExtensions

The WriteReflectionNameExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberGetDisplayName
Gets the name of a given declaration as it should be displayed to the user.
Public methodStatic memberGetReflectionName(IWriteReflectionName)
Gets the name of a given declaration and returns a string that is compatible with the result of the ToString method of system reflection objects.
Public methodStatic memberGetReflectionName(IWriteReflectionName, ReflectionNameOptions)
Gets the name of a given declaration and returns a string that is compatible with the result of the ToString method of system reflection objects.
Public methodStatic memberGetReflectionName(IWriteReflectionName, ReflectionNameOptions, NameMapper)
Gets the name of a given declaration, constructed using given options.
See Also