C# Class LtiLibrary.Core.Extensions.StringExtensions

Exibir arquivo Open project: andyfmiller/LtiLibrary

Public Methods

Method Description
ToRfc3986EncodedString ( this value ) : string

Private Methods

Method Description
EscapeUriDataStringRfc3986 ( string value ) : string

Escapes a string according to the URI data string rules given in RFC 3986.

The Uri.EscapeDataString method is supposed to take on RFC 3986 behavior if certain elements are present in a .config file. Even if this actually worked (which in my experiments it doesn't), we can't rely on every host actually having this configuration element present.

Method Details

ToRfc3986EncodedString() public static method

public static ToRfc3986EncodedString ( this value ) : string
value this
return string