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

Hold the collection of IQueryParamConverter converters
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
AddConverter ( Type type, Type converter ) : void

Adds the given converter for the specified type.

GetConverter ( Type type ) : IQueryParamConverter

Returns an instance of the correct converter for the given type.

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

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

Adds the given converter for the specified type.
/// Thrown if the converter does not implement . ///
public static AddConverter ( Type type, Type converter ) : void
type System.Type The type.
converter System.Type The converter.
Результат void

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

Returns an instance of the correct converter for the given type.
public static GetConverter ( Type type ) : IQueryParamConverter
type System.Type The type.
Результат IQueryParamConverter