CodeGlyphX logo
CodeGlyphX

API Reference

Class

Gs1DigitalLinkUri

Namespace CodeGlyphX
Assembly CodeGlyphX
Modifiers sealed

Represents one validated, uncompressed GS1 Digital Link URI.

Inheritance

  • Object
  • Gs1DigitalLinkUri

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters

Methods

public String ToElementString() #
Returns: String

Builds the equivalent GS1 element string.

public override String ToString() #
Returns: String

Properties

public Uri Uri { get; } #

Gets the parsed Web URI.

public String OriginalUri { get; } #

Gets the original validated URI spelling before Uri normalization.

public String UriStem { get; } #

Gets the scheme, authority, and optional custom path preceding the GS1 path.

public Gs1Element PrimaryIdentifier { get; } #

Gets the GS1 primary identifier carried in the URI path.

public IReadOnlyList<Gs1Element> KeyQualifiers { get; } #

Gets ordered key qualifiers carried in the URI path.

public IReadOnlyList<Gs1Element> DataAttributes { get; } #

Gets GS1 data attributes carried in the query string.

public IReadOnlyList<Gs1Element> Elements { get; } #

Gets all GS1 elements in path order followed by query order.

public IReadOnlyDictionary<String, String> ExtensionParameters { get; } #

Gets non-GS1 query parameters, such as resolver link controls.

public String Fragment { get; } #

Gets the decoded fragment identifier, or null when absent.

public String CanonicalUri { get; } #

Gets the canonical URI using HTTPS, id.gs1.org, and lexically ordered GS1 query attributes.

public Boolean IsCanonical { get; } #

Gets whether the input URI already has canonical GS1 Digital Link form.