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

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

Create a semantic message with 10 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, T4, T5, T6, T7, T8, T9, T10> Semantic<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(
	string name,
	string parameterName1,
	T1 parameterValue1,
	string parameterName2,
	T2 parameterValue2,
	string parameterName3,
	T3 parameterValue3,
	string parameterName4,
	T4 parameterValue4,
	string parameterName5,
	T5 parameterValue5,
	string parameterName6,
	T6 parameterValue6,
	string parameterName7,
	T7 parameterValue7,
	string parameterName8,
	T8 parameterValue8,
	string parameterName9,
	T9 parameterValue9,
	string parameterName10,
	T10 parameterValue10
)

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.
parameterName4
Type: System.String
Name of the 4-th parameter.
parameterValue4
Type: T4
Name of the 4-th parameter.
parameterName5
Type: System.String
Name of the 5-th parameter.
parameterValue5
Type: T5
Name of the 5-th parameter.
parameterName6
Type: System.String
Name of the 6-th parameter.
parameterValue6
Type: T6
Name of the 6-th parameter.
parameterName7
Type: System.String
Name of the 7-th parameter.
parameterValue7
Type: T7
Name of the 7-th parameter.
parameterName8
Type: System.String
Name of the 8-th parameter.
parameterValue8
Type: T8
Name of the 8-th parameter.
parameterName9
Type: System.String
Name of the 9-th parameter.
parameterValue9
Type: T9
Name of the 9-th parameter.
parameterName10
Type: System.String
Name of the 10-th parameter.
parameterValue10
Type: T10
Name of the 10-th parameter.

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.
T10
Type of the 10-th parameter value.

Return Value

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