Open sandboxFocus

Class SemanticMessageBuilder

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 Flashtrace.SemanticMessageBuilder statement.

Inheritance
SemanticMessageBuilder
Namespace: Flashtrace.Messages
Assembly: Flashtrace.dll
Syntax
public static class SemanticMessageBuilder

Methods

Name Description
Semantic(string)

Creates a semantic message without parameter.

Semantic(string, IReadOnlyList<(string Name, object? Value)>)

Creates a semantic message with an arbitrary number of parameters.

Semantic(string, in (string Name, object? Value))

Create a semantic message with 1 parameter, using tuples, where the value is of type object.

Semantic(string, (string Name, object? Value)[])

Creates a semantic message with an arbitrary number of parameters.

Semantic<T1>(string, string, T1?)

Create a semantic message with 1 parameter.

Semantic<T1>(string, in (string Name, T1? Value))

Create a semantic message with 1 parameter (using tuples).

Semantic<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.

Semantic<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(string, in (string Name, T1? Value), in (string Name, T2? Value), in (string Name, T3? Value), in (string Name, T4? Value), in (string Name, T5? Value), in (string Name, T6? Value), in (string Name, T7? Value), in (string Name, T8? Value), in (string Name, T9? Value), in (string Name, T10? Value))

Create a semantic message with 10 parameters (using tuples).

Semantic<T1, T2>(string, string, T1?, string, T2?)

Create a semantic message with 2 parameters.

Semantic<T1, T2>(string, in (string Name, T1? Value), in (string Name, T2? Value))

Create a semantic message with 2 parameters (using tuples).

Semantic<T1, T2, T3>(string, string, T1?, string, T2?, string, T3?)

Create a semantic message with 3 parameters.

Semantic<T1, T2, T3>(string, in (string Name, T1? Value), in (string Name, T2? Value), in (string Name, T3? Value))

Create a semantic message with 3 parameters (using tuples).

Semantic<T1, T2, T3, T4>(string, string, T1?, string, T2?, string, T3?, string, T4?)

Create a semantic message with 4 parameters.

Semantic<T1, T2, T3, T4>(string, in (string Name, T1? Value), in (string Name, T2? Value), in (string Name, T3? Value), in (string Name, T4? Value))

Create a semantic message with 4 parameters (using tuples).

Semantic<T1, T2, T3, T4, T5>(string, string, T1?, string, T2?, string, T3?, string, T4?, string, T5?)

Create a semantic message with 5 parameters.

Semantic<T1, T2, T3, T4, T5>(string, in (string Name, T1? Value), in (string Name, T2? Value), in (string Name, T3? Value), in (string Name, T4? Value), in (string Name, T5? Value))

Create a semantic message with 5 parameters (using tuples).

Semantic<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.

Semantic<T1, T2, T3, T4, T5, T6>(string, in (string Name, T1? Value), in (string Name, T2? Value), in (string Name, T3? Value), in (string Name, T4? Value), in (string Name, T5? Value), in (string Name, T6? Value))

Create a semantic message with 6 parameters (using tuples).

Semantic<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.

Semantic<T1, T2, T3, T4, T5, T6, T7>(string, in (string Name, T1? Value), in (string Name, T2? Value), in (string Name, T3? Value), in (string Name, T4? Value), in (string Name, T5? Value), in (string Name, T6? Value), in (string Name, T7? Value))

Create a semantic message with 7 parameters (using tuples).

Semantic<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.

Semantic<T1, T2, T3, T4, T5, T6, T7, T8>(string, in (string Name, T1? Value), in (string Name, T2? Value), in (string Name, T3? Value), in (string Name, T4? Value), in (string Name, T5? Value), in (string Name, T6? Value), in (string Name, T7? Value), in (string Name, T8? Value))

Create a semantic message with 8 parameters (using tuples).

Semantic<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.

Semantic<T1, T2, T3, T4, T5, T6, T7, T8, T9>(string, in (string Name, T1? Value), in (string Name, T2? Value), in (string Name, T3? Value), in (string Name, T4? Value), in (string Name, T5? Value), in (string Name, T6? Value), in (string Name, T7? Value), in (string Name, T8? Value), in (string Name, T9? Value))

Create a semantic message with 9 parameters (using tuples).