PostSharp SDK 6.10 / / Class Reference / Post­Sharp.​Sdk.​Code­Model Namespace / Field­Def­Declaration Class / Field­Def­Declaration Methods / Field­Def­Declaration.​Write­Reflection­Name Method / Field­Def­Declaration.​Write­Reflection­Name Method (String­Builder, Reflection­Name­Options, Name­Mapper)

FieldDefDeclaration.WriteReflectionName Method (StringBuilder, ReflectionNameOptions, NameMapper)

Writes the name of the current declaration to a StringBuilder and specifies a NameMapper.

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 void WriteReflectionName(
	StringBuilder stringBuilder,
	ReflectionNameOptions options,
	NameMapper mapper
)

Parameters

stringBuilder
Type: System.Text.StringBuilder
A StringBuilder.
options
Type: PostSharp.Sdk.CodeModel.ReflectionNameOptions
Options influencing how the name is generated.
mapper
Type: PostSharp.Sdk.CodeModel.NameMapper
A NameMapper.

Implements

IWriteReflectionName.WriteReflectionName(StringBuilder, ReflectionNameOptions, NameMapper)
See Also