Show / Hide Table of Contents

Class UriMapping

Defines a URI to URI mapping.

Inheritance
System.Object
UriMapping
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: System.Windows.Navigation
Assembly: OpenSilver.Controls.Navigation.dll
Syntax
public sealed class UriMapping

Properties

| Improve this Doc View Source

MappedUri

Gets or sets the mapped URI value or pattern.

Declaration
public Uri MappedUri { get; set; }
Property Value
Type Description
System.Uri
| Improve this Doc View Source

Uri

Gets or sets the original URI value or pattern.

Declaration
public Uri Uri { get; set; }
Property Value
Type Description
System.Uri

Methods

| Improve this Doc View Source

MapUri(Uri)

Attempts to process a Uri, if it matches the Uri template

Declaration
public Uri MapUri(Uri uri)
Parameters
Type Name Description
System.Uri uri

The Uri to map

Returns
Type Description
System.Uri

The Uri after mapping, or null if mapping did not succeed

  • Improve this Doc
  • View Source