Class UriMapping
Defines a URI to URI mapping.
Inheritance
System.Object
UriMapping
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: System.Windows.Navigation
Assembly: Controls.Navigation.OpenSilver.dll
Syntax
public sealed class UriMapping
Properties
| Improve this Doc View SourceMappedUri
Gets or sets the mapped URI value or pattern.
Declaration
public Uri MappedUri { get; set; }
Property Value
Type | Description |
---|---|
Uri |
Uri
Gets or sets the original URI value or pattern.
Declaration
public Uri Uri { get; set; }
Property Value
Type | Description |
---|---|
Uri |
Methods
| Improve this Doc View SourceMapUri(Uri)
Attempts to process a Uri, if it matches the Uri template
Declaration
public Uri MapUri(Uri uri)
Parameters
Type | Name | Description |
---|---|---|
Uri | uri | The Uri to map |
Returns
Type | Description |
---|---|
Uri | The Uri after mapping, or null if mapping did not succeed |