C# Класс ImageProcessor.Web.Helpers.CommonParameterParserUtility

Encapsulates methods to correctly parse querystring parameters.
Показать файл Открыть проект

Открытые методы

Метод Описание
ParseAngle ( string input ) : float

Returns the correct T:System.Int32 containing the angle for the given string.

ParseColor ( string input ) : Color

Returns the correct T:System.Drawing.Color for the given string.

ParseIn100Range ( string input ) : int

Returns the correct T:System.Int32 for the given string.

Приватные методы

Метод Описание
BuildColorRegex ( ) : Regex

Builds a regular expression for the three main colour types.

Описание методов

ParseAngle() публичный статический Метод

Returns the correct T:System.Int32 containing the angle for the given string.
public static ParseAngle ( string input ) : float
input string /// The input string containing the value to parse. ///
Результат float

ParseColor() публичный статический Метод

Returns the correct T:System.Drawing.Color for the given string.
public static ParseColor ( string input ) : Color
input string /// The input string containing the value to parse. ///
Результат Color

ParseIn100Range() публичный статический Метод

Returns the correct T:System.Int32 for the given string.
public static ParseIn100Range ( string input ) : int
input string /// The input string containing the value to parse. ///
Результат int