C# Class Skybrud.Umbraco.GridData.Converters.Umbraco.UmbracoGridConverter

Converter for handling the default editors (and their values and configs) of Umbraco.
Inheritance: IGridConverter
Afficher le fichier Open project: skybrud/Skybrud.Umbraco.GridData

Méthodes publiques

Méthode Description
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.

Method Details

ConvertControlValue() public méthode

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.
Résultat bool

ConvertEditorConfig() public méthode

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.
Résultat bool

GetControlWrapper() public méthode

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.
Résultat bool