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 Method (String, Value­Tuple(String, Object)[])

SemanticMessageBuilder.Semantic Method (String, ValueTuple<String, Object>[])

Creates a semantic message with an arbitrary number of 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 SemanticMessageArray Semantic(
	string messageName,
	params (string , Object )[] parameters
)

Parameters

messageName
Type: System.String
Message name.
parameters
Type: ValueTuple<String, Object>[]
Array of parameters (name-value pairs).

Return Value

Type: SemanticMessageArray
See Also