Table of Contents

Class PortalFeatureServiceResolution

Namespace
Honua.Sdk.GeoServices.Portal.Models
Assembly
Honua.Sdk.GeoServices.dll

Resolved GeoServices FeatureServer target parsed from a sharing service URL.

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

Properties

BaseAddress

Normalized root address including any deployment path prefix.

public required Uri BaseAddress { get; init; }

Property Value

Uri

LayerId

Layer ID embedded at the end of the source URL, or null when targeting the service root.

public int? LayerId { get; init; }

Property Value

int?

ServiceId

Unescaped service identifier, including folder segments when present.

public required string ServiceId { get; init; }

Property Value

string

ServiceRoot

Parsed GeoServices service root compatible with HonuaFeatureServerClient.

public required GeoServicesServiceRoot ServiceRoot { get; init; }

Property Value

GeoServicesServiceRoot

ServiceUrl

Canonical FeatureServer root URL without a trailing layer segment.

public required Uri ServiceUrl { get; init; }

Property Value

Uri

ServicesPath

Services directory path relative to BaseAddress, such as rest/services.

public required string ServicesPath { get; init; }

Property Value

string

Methods

Parse(string, Uri?)

Parses a Feature Service URL string (root or layer-suffixed) into a PortalFeatureServiceResolution.

public static PortalFeatureServiceResolution Parse(string serviceUrl, Uri? portalRootAddress = null)

Parameters

serviceUrl string
portalRootAddress Uri

Returns

PortalFeatureServiceResolution

Parse(Uri, Uri?)

Parses a Feature Service URL (root or layer-suffixed) into a PortalFeatureServiceResolution.

public static PortalFeatureServiceResolution Parse(Uri serviceUrl, Uri? portalRootAddress = null)

Parameters

serviceUrl Uri
portalRootAddress Uri

Returns

PortalFeatureServiceResolution

TryParse(string?, Uri?, out PortalFeatureServiceResolution?)

Tries to parse a Feature Service URL string (root or layer-suffixed) into a PortalFeatureServiceResolution.

public static bool TryParse(string? serviceUrl, Uri? portalRootAddress, out PortalFeatureServiceResolution? resolution)

Parameters

serviceUrl string
portalRootAddress Uri
resolution PortalFeatureServiceResolution

Returns

bool

TryParse(Uri?, Uri?, out PortalFeatureServiceResolution?)

Tries to parse a Feature Service URL (root or layer-suffixed) into a PortalFeatureServiceResolution.

public static bool TryParse(Uri? serviceUrl, Uri? portalRootAddress, out PortalFeatureServiceResolution? resolution)

Parameters

serviceUrl Uri
portalRootAddress Uri
resolution PortalFeatureServiceResolution

Returns

bool