PostSharp6.1/API Reference/Post­Sharp.​Patterns.​Diagnostics Namespace/Semantic­Message­Builder Class

SemanticMessageBuilder Class

Creates semantic messages composed of a message name and a list of properties given as name-value pairs. These messages are ideal for machine analysis. For more succinct code, consider including the using static PostSharp.Patterns.Diagnostics.MessageBuilder statement.
Inheritance Hierarchy
System.Object
  PostSharp.Patterns.Diagnostics.SemanticMessageBuilder

Namespace:  PostSharp.Patterns.Diagnostics
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.1.23.0 (6.1.23.0)
Syntax
C#
public static class SemanticMessageBuilder
Methods
  NameDescription
Public methodStatic memberSemantic(String)
Creates a semantic message without parameter.
Public methodStatic memberSemantic(String, ValueTuple<String, Object>[])
Creates a semantic message with an arbitrary number of parameters.
Public methodStatic memberSemantic<T1>(String, ValueTuple<String, T1>)
Create a semantic message with 1 parameter.
Public methodStatic memberSemantic<T1>(String, String, T1)
Create a semantic message with 1 parameter (using tuples).
Public methodStatic memberSemantic<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(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>, ValueTuple<String, T10>)
Create a semantic message with 10 parameters.
Public methodStatic memberSemantic<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(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).
Public methodStatic memberSemantic<T1, T2>(String, ValueTuple<String, T1>, ValueTuple<String, T2>)
Create a semantic message with 2 parameters.
Public methodStatic memberSemantic<T1, T2>(String, String, T1, String, T2)
Create a semantic message with 2 parameters (using tuples).
Public methodStatic memberSemantic<T1, T2, T3>(String, ValueTuple<String, T1>, ValueTuple<String, T2>, ValueTuple<String, T3>)
Create a semantic message with 3 parameters.
Public methodStatic memberSemantic<T1, T2, T3>(String, String, T1, String, T2, String, T3)
Create a semantic message with 3 parameters (using tuples).
Public methodStatic memberSemantic<T1, T2, T3, T4>(String, ValueTuple<String, T1>, ValueTuple<String, T2>, ValueTuple<String, T3>, ValueTuple<String, T4>)
Create a semantic message with 4 parameters.
Public methodStatic memberSemantic<T1, T2, T3, T4>(String, String, T1, String, T2, String, T3, String, T4)
Create a semantic message with 4 parameters (using tuples).
Public methodStatic memberSemantic<T1, T2, T3, T4, T5>(String, ValueTuple<String, T1>, ValueTuple<String, T2>, ValueTuple<String, T3>, ValueTuple<String, T4>, ValueTuple<String, T5>)
Create a semantic message with 5 parameters.
Public methodStatic memberSemantic<T1, T2, T3, T4, T5>(String, String, T1, String, T2, String, T3, String, T4, String, T5)
Create a semantic message with 5 parameters (using tuples).
Public methodStatic memberSemantic<T1, T2, T3, T4, T5, T6>(String, ValueTuple<String, T1>, ValueTuple<String, T2>, ValueTuple<String, T3>, ValueTuple<String, T4>, ValueTuple<String, T5>, ValueTuple<String, T6>)
Create a semantic message with 6 parameters.
Public methodStatic memberSemantic<T1, T2, T3, T4, T5, T6>(String, String, T1, String, T2, String, T3, String, T4, String, T5, String, T6)
Create a semantic message with 6 parameters (using tuples).
Public methodStatic memberSemantic<T1, T2, T3, T4, T5, T6, T7>(String, ValueTuple<String, T1>, ValueTuple<String, T2>, ValueTuple<String, T3>, ValueTuple<String, T4>, ValueTuple<String, T5>, ValueTuple<String, T6>, ValueTuple<String, T7>)
Create a semantic message with 7 parameters.
Public methodStatic memberSemantic<T1, T2, T3, T4, T5, T6, T7>(String, String, T1, String, T2, String, T3, String, T4, String, T5, String, T6, String, T7)
Create a semantic message with 7 parameters (using tuples).
Public methodStatic memberSemantic<T1, T2, T3, T4, T5, T6, T7, T8>(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>)
Create a semantic message with 8 parameters.
Public methodStatic memberSemantic<T1, T2, T3, T4, T5, T6, T7, T8>(String, String, T1, String, T2, String, T3, String, T4, String, T5, String, T6, String, T7, String, T8)
Create a semantic message with 8 parameters (using tuples).
Public methodStatic memberSemantic<T1, T2, T3, T4, T5, T6, T7, T8, T9>(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.
Public methodStatic memberSemantic<T1, T2, T3, T4, T5, T6, T7, T8, T9>(String, String, T1, String, T2, String, T3, String, T4, String, T5, String, T6, String, T7, String, T8, String, T9)
Create a semantic message with 9 parameters (using tuples).
See Also