Table of Contents

IsUri Method

Definition

Namespace
Cuemon
Assemblies
Cuemon.Kernel.dll
Source
src/Cuemon.Kernel/Condition.cs

IsUri(string, Action<UriStringOptions>)

Determines whether the specified value is valid by attempting to construct a URI.

public static bool IsUri(string value, Action<UriStringOptions> setup = null)

Parameters

value string

The string used to attempt to construct a Uri.

setup Action<UriStringOptions>

The UriStringOptions which may be configured.

Returns

bool

true if the specified value is a valid URI; otherwise, false.