C# Class formulate.app.Converters.ConfiguredFormConverter

Inheritance: Umbraco.Core.PropertyEditors.PropertyValueConverterBase
Mostra file Open project: rhythmagency/formulate

Private Properties

Property Type Description

Public Methods

Method Description
ConfiguredFormConverter ( ) : System

Default constructor.

ConvertDataToSource ( Umbraco.Core.Models.PublishedContent.PublishedPropertyType propertyType, object source, bool preview ) : object

Converts the raw property data to ConfiguredFormInfo.

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

Indicates whether or not this is a converter for the specified property type.

Method Details

ConfiguredFormConverter() public method

Default constructor.
public ConfiguredFormConverter ( ) : System
return System

ConvertDataToSource() public method

Converts the raw property data to ConfiguredFormInfo.
public ConvertDataToSource ( Umbraco.Core.Models.PublishedContent.PublishedPropertyType propertyType, object source, bool preview ) : object
propertyType Umbraco.Core.Models.PublishedContent.PublishedPropertyType /// The property type. ///
source object /// The property data. ///
preview bool /// Is this preview data? ///
return object

IsConverter() public method

Indicates whether or not this is a converter for the specified property type.
public IsConverter ( Umbraco.Core.Models.PublishedContent.PublishedPropertyType propertyType ) : bool
propertyType Umbraco.Core.Models.PublishedContent.PublishedPropertyType /// The property type. ///
return bool