C# Class Our.Umbraco.ColorPalettes.Converters.ColorPaletteEditorValueConverter

Inheritance: Umbraco.Core.PropertyEditors.PropertyValueConverterBase
Afficher le fichier Open project: bjarnef/color-palettes

Méthodes publiques

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

Method Details

ConvertDataToSource() public méthode

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

IsConverter() public méthode

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