C# Class Skybrud.Umbraco.GridData.GridPropertyValueConverter

Property value converter for the Umbraco Grid.
Inheritance: IPropertyValueConverterMeta
Mostrar archivo Open project: skybrud/Skybrud.Umbraco.GridData

Public Properties

Property Type Description
IsEnabled bool

Public Methods

Method Description
ConvertDataToSource ( Umbraco.Core.Models.PublishedContent.PublishedPropertyType propertyType, object source, bool preview ) : object
ConvertSourceToObject ( Umbraco.Core.Models.PublishedContent.PublishedPropertyType propertyType, object source, bool preview ) : object
ConvertSourceToXPath ( Umbraco.Core.Models.PublishedContent.PublishedPropertyType propertyType, object source, bool preview ) : object
GetPropertyCacheLevel ( Umbraco.Core.Models.PublishedContent.PublishedPropertyType propertyType, PropertyCacheValue cacheValue ) : PropertyCacheLevel
GetPropertyValueType ( Umbraco.Core.Models.PublishedContent.PublishedPropertyType propertyType ) : Type
IsConverter ( Umbraco.Core.Models.PublishedContent.PublishedPropertyType propertyType ) : bool

Method Details

ConvertDataToSource() public method

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

ConvertSourceToObject() public method

public ConvertSourceToObject ( Umbraco.Core.Models.PublishedContent.PublishedPropertyType propertyType, object source, bool preview ) : object
propertyType Umbraco.Core.Models.PublishedContent.PublishedPropertyType
source object
preview bool
return object

ConvertSourceToXPath() public method

public ConvertSourceToXPath ( Umbraco.Core.Models.PublishedContent.PublishedPropertyType propertyType, object source, bool preview ) : object
propertyType Umbraco.Core.Models.PublishedContent.PublishedPropertyType
source object
preview bool
return object

GetPropertyCacheLevel() public method

public GetPropertyCacheLevel ( Umbraco.Core.Models.PublishedContent.PublishedPropertyType propertyType, PropertyCacheValue cacheValue ) : PropertyCacheLevel
propertyType Umbraco.Core.Models.PublishedContent.PublishedPropertyType
cacheValue PropertyCacheValue
return PropertyCacheLevel

GetPropertyValueType() public method

public GetPropertyValueType ( Umbraco.Core.Models.PublishedContent.PublishedPropertyType propertyType ) : Type
propertyType Umbraco.Core.Models.PublishedContent.PublishedPropertyType
return System.Type

IsConverter() public method

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

Property Details

IsEnabled public_oe static_oe property

Gets or sets whether this property value converter is enabled.
public static bool IsEnabled
return bool