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
Namestring-
The name, for messages.
ValuesIReadOnlyDictionary<int, string>-
The values with their names; keys greater than 0.
Properties
Name
The name, for messages.
public string Name { get; init; }Property Value
Values
The values with their names; keys greater than 0.
public IReadOnlyDictionary<int, string> Values { get; init; }