PUrlQualifier Class

Represents the qualifier portion of a PackageUrl.

Inheritance Hierarchy

Syntax

public sealed class PUrlQualifier : System.ValueType, IReadOnlyDictionary<TKey, TValue>, IEnumerable<T>, System.Collections.IEnumerable, IReadOnlyCollection<T>, IEquatable<T>

Constructors

Name Description
PUrlQualifier(string qualifier)

Initializes a new instance of the PUrlQualifier struct.

Properties

Name Description
Count

Gets the number of keys in the qualifier.

IsEmpty

Gets a value indicating whether the qualifier is empty.

Item

Methods

Name Description
ContainsKey(string key)
Equals(object obj)
GetEnumerator
GetHashCode
HasValue(string key, System.ReadOnlySpan<char> value, System.StringComparison comparisonType)
Normalize

Returns a normalized version of this PUrlQualifier.

ToString
TryGetValue(string key, System.String& value)

Remarks

This is essentially a URL query string with some additional rules: