Open sandboxFocus

Enum SemanticParameterKind

Enumerates the kinds of semantic parameters passed to the AppendSemanticParameter<T>(SemanticParameterKind, ArraySegment<char>, T, IFormatter<T>, string, int) method. The enumeration is a bit mask. Values can be combined with the | operator.

Namespace: PostSharp.Patterns.Diagnostics.RecordBuilders
Assembly: PostSharp.Patterns.Diagnostics.dll
Syntax
[Flags]
public enum SemanticParameterKind

Fields

Name Description
ActivityName

Name of the custom activity, in semantic messages.

ActivityOutcome

Outcome of the custom activity.

All

All flags.

AsyncCallId

Id of the current state machine instance.

AwaitedContextId

Id of the awaited context.

AwaitedMethod

Method of the right of the await operator.

AwaitedType

Type of the right value of the await operator.

CustomParameterValue

Custom parameter (set by the WriteCustomParameter<T>(int, ArraySegment<char>, T).

Exception

Exception.

ExecutionTime

Duration of the method execution.

ExecutionTimeThreshold

Threshold for the duration of the method execution.

MemberName

Member name.

MessageName

Name of the custom message, in semantic messages.

None

None.

ParameterName

Parameter name.

ParameterType

Parameter type.

ParameterValue

Parameter value.

PropertyName

Name of a property.

PropertyValue

Value of a property.

RecordStatus

Record status.

ReturnItemName

Name of the return value (if there are multiple return values).

ReturnItemValue

Return value (if there are multiple return values).

ReturnValue

Return value (if there is a single return value).

SourceFile

Source file.

SourceLine

Source line.

This

Value of the this parameter.

TypeName

Type name.