UrlPatternComponentResult Class
The match of a component (https://urlpattern.spec.whatwg.org/#dictdef-urlpatterncomponentresult).
public sealed class UrlPatternComponentResultConstructors
| Name | Description |
|---|---|
| UrlPatternComponentResult() |
UrlPatternComponentResult()
- Obsolete: Constructors of types with required members are not supported in this version of your compiler.
[Obsolete("Constructors of types with required members are not supported in this version of your compiler.", true)]
public UrlPatternComponentResult()No documentation is available.
Properties
| Name | Description |
|---|---|
| Groups | The values of the groups by name (the unnamed groups are named "0", "1", ...). The value of an optional group that did not match is null. |
| Input | The value of the component that was matched. |
Groups
UrlPattern.csThe values of the groups by name (the unnamed groups are named "0", "1", ...). The value of an optional group that did not match is null.
public required IReadOnlyDictionary<string, string?> Groups { get; init; }Input
UrlPattern.csThe value of the component that was matched.
public required string Input { get; init; }