C# 클래스 Skybrud.Umbraco.GridData.Converters.Fanoe.FanoeGridConverter

Converter for Grid editors from the Fanoe starter kit.
상속: IGridConverter
파일 보기 프로젝트 열기: skybrud/Skybrud.Umbraco.GridData

공개 메소드들

메소드 설명
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