Table of Contents

Class UnitOfMeasure

Namespace
EncDotNet.S100.Features
Assembly
EncDotNet.S100.Features.dll

Unit of measure for a simple attribute whose value type is numeric, parsed from the Feature Catalogue's <S100FC:uom> element (S-100 Part 5 / ISO 19103). For example, depth-valued S-101 attributes such as depthRangeMinimumValue carry a uom of Name = "metre", Symbol = "m".

public sealed record UnitOfMeasure : IEquatable<UnitOfMeasure>
Inheritance
UnitOfMeasure
Implements
Inherited Members

Constructors

UnitOfMeasure(string, string?)

Unit of measure for a simple attribute whose value type is numeric, parsed from the Feature Catalogue's <S100FC:uom> element (S-100 Part 5 / ISO 19103). For example, depth-valued S-101 attributes such as depthRangeMinimumValue carry a uom of Name = "metre", Symbol = "m".

public UnitOfMeasure(string Name, string? Symbol)

Parameters

Name string

The unit name (e.g. "metre").

Symbol string

The unit symbol (e.g. "m"), or null when the catalogue omits it.

Properties

Name

The unit name (e.g. "metre").

public string Name { get; init; }

Property Value

string

Symbol

The unit symbol (e.g. "m"), or null when the catalogue omits it.

public string? Symbol { get; init; }

Property Value

string