C# Class Our.Umbraco.Mortar.ValueConverters.MortarValueConverter

Inheritance: Umbraco.Core.PropertyEditors.PropertyValueConverterBase
Mostrar archivo Open project: leekelleher/umbraco-mortar

Public Methods

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

Protected Methods

Method Description
ConvertDataToSource_DocType ( Umbraco.Core.Models.PublishedContent.PublishedPropertyType propertyType, string docTypeAlias, object value, bool preview ) : IPublishedContent
ConvertDataToSource_Fake ( Umbraco.Core.Models.PublishedContent.PublishedPropertyType propertyType, string docTypeAlias, string propEditorAlias, string propAlias, object value, bool preview ) : IPublishedContent
ConvertDataToSource_Link ( Umbraco.Core.Models.PublishedContent.PublishedPropertyType propertyType, object value, bool preview ) : IPublishedContent
ConvertDataToSource_Media ( Umbraco.Core.Models.PublishedContent.PublishedPropertyType propertyType, object value, bool preview ) : IPublishedContent

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

ConvertDataToSource_DocType() protected method

protected ConvertDataToSource_DocType ( Umbraco.Core.Models.PublishedContent.PublishedPropertyType propertyType, string docTypeAlias, object value, bool preview ) : IPublishedContent
propertyType Umbraco.Core.Models.PublishedContent.PublishedPropertyType
docTypeAlias string
value object
preview bool
return IPublishedContent

ConvertDataToSource_Fake() protected method

protected ConvertDataToSource_Fake ( Umbraco.Core.Models.PublishedContent.PublishedPropertyType propertyType, string docTypeAlias, string propEditorAlias, string propAlias, object value, bool preview ) : IPublishedContent
propertyType Umbraco.Core.Models.PublishedContent.PublishedPropertyType
docTypeAlias string
propEditorAlias string
propAlias string
value object
preview bool
return IPublishedContent

ConvertDataToSource_Link() protected method

protected ConvertDataToSource_Link ( Umbraco.Core.Models.PublishedContent.PublishedPropertyType propertyType, object value, bool preview ) : IPublishedContent
propertyType Umbraco.Core.Models.PublishedContent.PublishedPropertyType
value object
preview bool
return IPublishedContent

ConvertDataToSource_Media() protected method

protected ConvertDataToSource_Media ( Umbraco.Core.Models.PublishedContent.PublishedPropertyType propertyType, object value, bool preview ) : IPublishedContent
propertyType Umbraco.Core.Models.PublishedContent.PublishedPropertyType
value object
preview bool
return IPublishedContent

IsConverter() public method

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