C# 클래스 Our.Umbraco.ColorPalettes.Converters.ColorPaletteEditorValueConverter

상속: Umbraco.Core.PropertyEditors.PropertyValueConverterBase
파일 보기 프로젝트 열기: bjarnef/color-palettes

공개 메소드들

메소드 설명
ConvertDataToSource ( Umbraco.Core.Models.PublishedContent.PublishedPropertyType propertyType, object source, bool preview ) : object

Method to convert a property value to an instance of the ColorPalette class.

IsConverter ( Umbraco.Core.Models.PublishedContent.PublishedPropertyType propertyType ) : bool

Method to see if the current property type is of type ColorPalettes editor.

메소드 상세

ConvertDataToSource() 공개 메소드

Method to convert a property value to an instance of the ColorPalette class.
public ConvertDataToSource ( Umbraco.Core.Models.PublishedContent.PublishedPropertyType propertyType, object source, bool preview ) : object
propertyType Umbraco.Core.Models.PublishedContent.PublishedPropertyType The current published property /// type to convert.
source object The original property data.
preview bool True if in preview mode.
리턴 object

IsConverter() 공개 메소드

Method to see if the current property type is of type ColorPalettes editor.
public IsConverter ( Umbraco.Core.Models.PublishedContent.PublishedPropertyType propertyType ) : bool
propertyType Umbraco.Core.Models.PublishedContent.PublishedPropertyType The current property type.
리턴 bool