PostSharp6.1/API Reference/Post­Sharp.​Patterns.​Diagnostics.​Backends.​Console Namespace/Console­Log­Record­Builder Class/Console­Log­Record­Builder Methods/Console­Log­Record­Builder.​Append­Semantic­Parameter Method/Console­Log­Record­Builder.​Append­Semantic­Parameter Method (Semantic­Parameter­Kind, String, String, String, Int32)

ConsoleLogRecordBuilder.AppendSemanticParameter Method (SemanticParameterKind, String, String, String, Int32)

Appends a parameter of String type to the current StringBuilder. Back-ends that support semantic logging may store the parameter value semantically instead of appending it to the StringBuilder.

Namespace:  PostSharp.Patterns.Diagnostics.Backends.Console
Assembly:  PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 6.1.23.0 (6.1.23.0)
Syntax
C#
protected override void AppendSemanticParameter(
	SemanticParameterKind kind,
	string name,
	string value,
	string prefix,
	int index
)

Parameters

kind
Type: PostSharp.Patterns.Diagnostics.RecordBuilders.SemanticParameterKind
Kind of semantic parameter.
name
Type: System.String
Parameter name. The name parameter itself is not guaranteed to be unique in a given record. However, in combination with prefix and index, it is guaranteed to be unique.
value
Type: System.String
Parameter value.
prefix
Type: System.String
Prefix to be prepended to name, or null if there is no prefix.
index
Type: System.Int32
Index of the parameter value, if there are several values for the same parameter name, or -1 if there is a single parameter value for this parameter name.
See Also