Table of Contents

Class UriExtensions

Namespace
Wpf.Ui.Extensions
Assembly
Wpf.Ui.dll

Extensions for Uri class.

public static class UriExtensions
Inheritance
UriExtensions
Inherited Members

Methods

Append(Uri, params string[])

Append provided segments to the Uri.

public static Uri Append(this Uri uri, params string[] segments)

Parameters

uri Uri
segments string[]

Returns

Uri

Append(Uri, Uri)

Append new Uri to the Uri.

public static Uri Append(this Uri uri, Uri value)

Parameters

uri Uri
value Uri

Returns

Uri

EndsWith(Uri, string)

Determines whether the end of Uri is equal to provided value.

public static bool EndsWith(this Uri uri, string value)

Parameters

uri Uri
value string

Returns

bool

TrimLastSegment(Uri)

Removes last segment of the Uri.

public static Uri TrimLastSegment(this Uri uri)

Parameters

uri Uri

Returns

Uri