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
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
ServiceRoot
Parsed GeoServices service root compatible with HonuaFeatureServerClient.
public required GeoServicesServiceRoot ServiceRoot { get; init; }
Property Value
ServiceUrl
Canonical FeatureServer root URL without a trailing layer segment.
public required Uri ServiceUrl { get; init; }
Property Value
ServicesPath
Services directory path relative to BaseAddress, such as rest/services.
public required string ServicesPath { get; init; }
Property Value
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
Returns
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
Returns
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
serviceUrlstringportalRootAddressUriresolutionPortalFeatureServiceResolution
Returns
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
serviceUrlUriportalRootAddressUriresolutionPortalFeatureServiceResolution