Table of Contents

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

InstanceId string

The instance's MRN.

Name string

The registered name, trimmed.

Version string

The registered version.

Status SecomRegistryStatus

The registered lifecycle status.

ProductSpec string

The data product in canonical short form ("S-124"), or "OTHER".

EndpointUri Uri

The service's SECOM endpoint.

OrganizationId string

The registering organisation's MRN, if stated.

Description string

The registered comment or description, if any.

Keywords string

The registered keywords, if any.

Bounds GeoBounds?

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

GeoBounds?

Description

The registered comment or description, if any.

public string? Description { get; init; }

Property Value

string

EndpointUri

The service's SECOM endpoint.

public Uri EndpointUri { get; init; }

Property Value

Uri

InstanceId

The instance's MRN.

public string InstanceId { get; init; }

Property Value

string

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

bool

Keywords

The registered keywords, if any.

public string? Keywords { get; init; }

Property Value

string

Name

The registered name, trimmed.

public string Name { get; init; }

Property Value

string

OrganizationId

The registering organisation's MRN, if stated.

public string? OrganizationId { get; init; }

Property Value

string

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

string

ProductSpec

The data product in canonical short form ("S-124"), or "OTHER".

public string ProductSpec { get; init; }

Property Value

string

Status

The registered lifecycle status.

public SecomRegistryStatus Status { get; init; }

Property Value

SecomRegistryStatus

Version

The registered version.

public string? Version { get; init; }

Property Value

string