C# Класс Skybrud.Umbraco.GridData.Converters.Umbraco.UmbracoGridConverter

Converter for handling the default editors (and their values and configs) of Umbraco.
Наследование: IGridConverter
Показать файл Открыть проект

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

Метод Описание
ConvertControlValue ( GridControl control, JToken token, IGridControlValue &value ) : bool

Converts the specified token into an instance of IGridControlValue.

ConvertEditorConfig ( GridEditor editor, JToken token, IGridEditorConfig &config ) : bool

Converts the specified token into an instance of IGridEditorConfig.

GetControlWrapper ( GridControl control, GridControlWrapper &wrapper ) : bool

Gets an instance GridControlWrapper for the specified control.

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

ConvertControlValue() публичный Метод

Converts the specified token into an instance of IGridControlValue.
public ConvertControlValue ( GridControl control, JToken token, IGridControlValue &value ) : bool
control GridControl The parent control.
token JToken The instance of JToken representing the control value.
value IGridControlValue The converted value.
Результат bool

ConvertEditorConfig() публичный Метод

Converts the specified token into an instance of IGridEditorConfig.
public ConvertEditorConfig ( GridEditor editor, JToken token, IGridEditorConfig &config ) : bool
editor GridEditor
token JToken The instance of JToken representing the editor config.
config IGridEditorConfig The converted config.
Результат bool

GetControlWrapper() публичный Метод

Gets an instance GridControlWrapper for the specified control.
public GetControlWrapper ( GridControl control, GridControlWrapper &wrapper ) : bool
control GridControl The control to be wrapped.
wrapper Skybrud.Umbraco.GridData.Rendering.GridControlWrapper The wrapper.
Результат bool