PostSharp 6.5 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics Namespace / Semantic­Message­Builder Class / Semantic­Message­Builder Methods / Semantic­Message­Builder.​Semantic Method / Semantic­Message­Builder.​Semantic(T1, T2, T3) Method (String, String, T1, String, T2, String, T3)

SemanticMessageBuilder.Semantic<T1, T2, T3> Method (String, String, T1, String, T2, String, T3)

Create a semantic message with 3 parameters (using tuples).

Namespace:  PostSharp.Patterns.Diagnostics
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.5.19.0 (6.5.19.0)
Syntax
C#
public static SemanticMessage<T1, T2, T3> Semantic<T1, T2, T3>(
	string name,
	string parameterName1,
	T1 parameterValue1,
	string parameterName2,
	T2 parameterValue2,
	string parameterName3,
	T3 parameterValue3
)

Parameters

name
Type: System.String
Name of the message.
parameterName1
Type: System.String
Name of the first parameter.
parameterValue1
Type: T1
Name of the first parameter.
parameterName2
Type: System.String
Name of the second parameter.
parameterValue2
Type: T2
Name of the second parameter.
parameterName3
Type: System.String
Name of the third parameter.
parameterValue3
Type: T3
Name of the third parameter.

Type Parameters

T1
Type of the first parameter value.
T2
Type of the second parameter value.
T3
Type of the third parameter value.

Return Value

Type: SemanticMessage<T1, T2, T3>
See Also