Table of Contents

Class NavigationPurposes

Namespace
EncDotNet.S100.Collections.Library
Assembly
EncDotNet.S100.Collections.dll

Names a remote S-100 dataset's navigation purpose and grid resolution ("Port 4 m").

public static class NavigationPurposes
Inheritance
NavigationPurposes
Inherited Members

Methods

Label(string, double?)

"Port 4 m": the purpose and a grid resolution in metres, or the purpose alone.

public static string Label(string purpose, double? metres)

Parameters

purpose string

The purpose code, e.g. port.

metres double?

The grid resolution in metres, if known.

Returns

string

Name(string)

The catalogue's purpose code as a name ("port" → "Port").

public static string Name(string value)

Parameters

value string

The purpose code.

Returns

string

Of(CollectionItem)

The label for item, or null when it declares no purpose.

public static string? Of(CollectionItem item)

Parameters

item CollectionItem

The item.

Returns

string