Table of Contents

UrlDecode Method

Definition

Namespace
Cuemon.Net
Assemblies
Cuemon.Net.dll
Source
src/Cuemon.Net/Extensions/StringDecoratorExtensions.cs

UrlDecode(IDecorator<string>, Action<EncodingOptions>)

Converts the enclosed string of the specified decorator that has been encoded for transmission in a URL into a decoded string.

public static string UrlDecode(this IDecorator<string> decorator, Action<EncodingOptions> setup = null)

Parameters

decorator IDecorator<string>

The IDecorator<T> to extend.

setup Action<EncodingOptions>

The EncodingOptions which may be configured.

Returns

string

An URL decoded string.

Exceptions

ArgumentNullException

decorator cannot be null.