PostSharp6.7//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, Value­Tuple(String, T1), Value­Tuple(String, T2), Value­Tuple(String, T3))

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

Create a semantic message with 3 parameters.

Namespace:  PostSharp.Patterns.Diagnostics
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.7.12.0 (6.7.12.0)
Syntax
C#
public static SemanticMessage<T1, T2, T3> Semantic<T1, T2, T3>(
	string name,
	 in (string , T1 ) parameter1,
	 in (string , T2 ) parameter2,
	 in (string , T3 ) parameter3
)

Parameters

name
Type: System.String
Name of the message.
parameter1
Type: ValueTuple<String, T1>
Name and value of the first parameter wrapped as a tuple.
parameter2
Type: ValueTuple<String, T2>
Name and value of the second parameter wrapped as a tuple.
parameter3
Type: ValueTuple<String, T3>
Name and value of the third parameter wrapped as a tuple.

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