Table of Contents

Class Facet

Namespace
SpatialNET.Network
Assembly
SpatialNET.Network.dll

One property that a type is made of, with its own values, for example the voltage level (ADR 0049). The value of a facet means the same under every other facet; 0 is reserved for "not set".

public sealed record Facet : IEquatable<Facet>

Inheritance

Implements

Inherited Members

Constructors

Facet(string, IReadOnlyDictionary<int, string>)

One property that a type is made of, with its own values, for example the voltage level (ADR 0049). The value of a facet means the same under every other facet; 0 is reserved for "not set".

public Facet(string Name, IReadOnlyDictionary<int, string> Values)

Parameters

Name string

The name, for messages.

Values IReadOnlyDictionary<int, string>

The values with their names; keys greater than 0.

Properties

Name

The name, for messages.

public string Name { get; init; }

Property Value

string

Values

The values with their names; keys greater than 0.

public IReadOnlyDictionary<int, string> Values { get; init; }

Property Value

IReadOnlyDictionary<int, string>