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, T4, T5, T6, T7, T8, T9) Method (String, Value­Tuple(String, T1), Value­Tuple(String, T2), Value­Tuple(String, T3), Value­Tuple(String, T4), Value­Tuple(String, T5), Value­Tuple(String, T6), Value­Tuple(String, T7), Value­Tuple(String, T8), Value­Tuple(String, T9))

SemanticMessageBuilder.Semantic<T1, T2, T3, T4, T5, T6, T7, T8, T9> Method (String, ValueTuple<String, T1>, ValueTuple<String, T2>, ValueTuple<String, T3>, ValueTuple<String, T4>, ValueTuple<String, T5>, ValueTuple<String, T6>, ValueTuple<String, T7>, ValueTuple<String, T8>, ValueTuple<String, T9>)

Create a semantic message with 9 parameters.

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, T4, T5, T6, T7, T8, T9> Semantic<T1, T2, T3, T4, T5, T6, T7, T8, T9>(
	string name,
	 in (string , T1 ) parameter1,
	 in (string , T2 ) parameter2,
	 in (string , T3 ) parameter3,
	 in (string , T4 ) parameter4,
	 in (string , T5 ) parameter5,
	 in (string , T6 ) parameter6,
	 in (string , T7 ) parameter7,
	 in (string , T8 ) parameter8,
	 in (string , T9 ) parameter9
)

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.
parameter4
Type: ValueTuple<String, T4>
Name and value of the 4-th parameter wrapped as a tuple.
parameter5
Type: ValueTuple<String, T5>
Name and value of the 5-th parameter wrapped as a tuple.
parameter6
Type: ValueTuple<String, T6>
Name and value of the 6-th parameter wrapped as a tuple.
parameter7
Type: ValueTuple<String, T7>
Name and value of the 7-th parameter wrapped as a tuple.
parameter8
Type: ValueTuple<String, T8>
Name and value of the 8-th parameter wrapped as a tuple.
parameter9
Type: ValueTuple<String, T9>
Name and value of the 9-th 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.
T4
Type of the 4-th parameter value.
T5
Type of the 5-th parameter value.
T6
Type of the 6-th parameter value.
T7
Type of the 7-th parameter value.
T8
Type of the 8-th parameter value.
T9
Type of the 9-th parameter value.

Return Value

Type: SemanticMessage<T1, T2, T3, T4, T5, T6, T7, T8, T9>
See Also