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) Method (String, String, T1)

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

Create a semantic message with 1 parameter (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> Semantic<T1>(
	string name,
	string parameterName1,
	T1 parameterValue1
)

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.

Type Parameters

T1
Type of the first parameter value.

Return Value

Type: SemanticMessage<T1>
See Also