C# Class Skybrud.LinkPicker.Grid.Converters.LinkPickerGridConverter

Inheritance: IGridConverter
Afficher le fichier Open project: skybrud/Skybrud.LinkPicker

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.

Private Methods

Méthode Description
IsLinkPickerEditor ( GridEditor editor ) : bool

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 A reference to the parent .
token JToken The instance of representing the control value.
value IGridControlValue The converted control 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 representing the editor config.
config IGridEditorConfig The converted editor 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