PostSharp6.3/API Reference/Post­Sharp.​Patterns.​Diagnostics.​Record­Builders Namespace/Log­Record­Builder Class/Log­Record­Builder Methods/Log­Record­Builder.​Set­Parameter Method/Log­Record­Builder.​Set­Parameter(T) Method (Int32, String, Parameter­Kind, String, T)

LogRecordBuilder.SetParameter<T> Method (Int32, String, ParameterKind, String, T)

Namespace:  PostSharp.Patterns.Diagnostics.RecordBuilders
Assembly:  PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 6.3.11.0 (6.3.11.0)
Syntax
C#
public void SetParameter<T>(
	int index,
	string parameterName,
	ParameterKind parameterKind,
	string typeName,
	T value
)

Parameters

index
Type: System.Int32
parameterName
Type: System.String
parameterKind
Type: PostSharp.Reflection.ParameterKind
typeName
Type: System.String
value
Type: T

Type Parameters

T
See Also