Class SecomRegistryService
- Namespace
- EncDotNet.S100.Collections.Secom
- Assembly
- EncDotNet.S100.Collections.dll
A SECOM service instance listed in a Maritime Service Registry (issue #822), cleaned: a usable endpoint, a canonical product, and bounds repaired from the registered geometry.
public sealed record SecomRegistryService : IEquatable<SecomRegistryService>
- Inheritance
-
SecomRegistryService
- Implements
- Inherited Members
Constructors
SecomRegistryService(string, string, string?, SecomRegistryStatus, string, Uri, string?, string?, string?, GeoBounds?)
A SECOM service instance listed in a Maritime Service Registry (issue #822), cleaned: a usable endpoint, a canonical product, and bounds repaired from the registered geometry.
public SecomRegistryService(string InstanceId, string Name, string? Version, SecomRegistryStatus Status, string ProductSpec, Uri EndpointUri, string? OrganizationId, string? Description, string? Keywords, GeoBounds? Bounds)
Parameters
InstanceIdstringThe instance's MRN.
NamestringThe registered name, trimmed.
VersionstringThe registered version.
StatusSecomRegistryStatusThe registered lifecycle status.
ProductSpecstringThe data product in canonical short form (
"S-124"), or"OTHER".EndpointUriUriThe service's SECOM endpoint.
OrganizationIdstringThe registering organisation's MRN, if stated.
DescriptionstringThe registered comment or description, if any.
KeywordsstringThe registered keywords, if any.
BoundsGeoBounds?The area the service covers, from its registered geometry — longitudes registered off by whole turns are shifted back — or null when the geometry is missing or unusable.
Properties
Bounds
The area the service covers, from its registered geometry — longitudes registered off by whole turns are shifted back — or null when the geometry is missing or unusable.
public GeoBounds? Bounds { get; init; }
Property Value
Description
The registered comment or description, if any.
public string? Description { get; init; }
Property Value
EndpointUri
The service's SECOM endpoint.
public Uri EndpointUri { get; init; }
Property Value
InstanceId
The instance's MRN.
public string InstanceId { get; init; }
Property Value
IsS100Product
True when the product is an S-100 (or S-57-family) data product, not OTHER, RTZ or EPC.
public bool IsS100Product { get; }
Property Value
Keywords
The registered keywords, if any.
public string? Keywords { get; init; }
Property Value
Name
The registered name, trimmed.
public string Name { get; init; }
Property Value
OrganizationId
The registering organisation's MRN, if stated.
public string? OrganizationId { get; init; }
Property Value
OrganizationName
A short name for the registering organisation: the last part of its MRN
(urn:mrn:mcp:org:mcc:ccg → ccg), or null.
public string? OrganizationName { get; }
Property Value
ProductSpec
The data product in canonical short form ("S-124"), or "OTHER".
public string ProductSpec { get; init; }
Property Value
Status
The registered lifecycle status.
public SecomRegistryStatus Status { get; init; }
Property Value
Version
The registered version.
public string? Version { get; init; }