PostSharpAPI ReferencePost­Sharp.​Patterns.​Diagnostics.​Record­BuildersSemantic­Parameter­Kind
Open sandboxFocus

SemanticParameterKind Class

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

Inheritance
SemanticParameterKind
Namespace: PostSharp.Patterns.Diagnostics.RecordBuilders
Assembly: PostSharp.Patterns.Diagnostics.dll
Syntax
public sealed class SemanticParameterKind : Enum

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.

ContextId
CustomParameter
CustomParameterValue

Custom parameter (set by the WriteCustomParameter<T>(Int32, ArraySegment<Char>, T).

Duration
DurationThreshold
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.

RecordKind
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.

value__