View Source
Class BlockValuePropertyValueEditorBase<TValue, TLayout>
Inheritance
System.Object
Assembly: Umbraco.Infrastructure.dll
Syntax
public abstract class BlockValuePropertyValueEditorBase<TValue, TLayout> : DataValueEditor, IDataValueEditor, IDataValueReference, IDataValueTags where TValue : BlockValue<TLayout>, new()
where TLayout : class, IBlockLayoutItem, new()
Type Parameters
Name |
Description |
TValue |
|
TLayout |
|
Constructors
View Source
BlockValuePropertyValueEditorBase(DataEditorAttribute, PropertyEditorCollection, IDataTypeConfigurationCache, ILocalizedTextService, ILogger, IShortStringHelper, IJsonSerializer, IIOHelper, DataValueReferenceFactoryCollection)
Declaration
protected BlockValuePropertyValueEditorBase(DataEditorAttribute attribute, PropertyEditorCollection propertyEditors, IDataTypeConfigurationCache dataTypeConfigurationCache, ILocalizedTextService textService, ILogger logger, IShortStringHelper shortStringHelper, IJsonSerializer jsonSerializer, IIOHelper ioHelper, DataValueReferenceFactoryCollection dataValueReferenceFactoryCollection)
Parameters
Methods
View Source
Declaration
protected IEnumerable<Guid> ConfiguredElementTypeKeys(IBlockConfiguration configuration)
Parameters
Returns
Type |
Description |
IEnumerable<Guid> |
|
View Source
GetBlockValueReferences(TValue)
Declaration
protected IEnumerable<UmbracoEntityReference> GetBlockValueReferences(TValue blockValue)
Parameters
Type |
Name |
Description |
TValue |
blockValue |
|
Returns
View Source
Declaration
protected IEnumerable<ITag> GetBlockValueTags(TValue blockValue, int? languageId)
Parameters
Type |
Name |
Description |
TValue |
blockValue |
|
System.Nullable<System.Int32> |
languageId |
|
Returns
Type |
Description |
IEnumerable<ITag> |
|
View Source
GetReferences(Object)
Declaration
public abstract IEnumerable<UmbracoEntityReference> GetReferences(object value)
Parameters
Type |
Name |
Description |
System.Object |
value |
|
Returns
View Source
Declaration
public abstract IEnumerable<ITag> GetTags(object value, object dataTypeConfiguration, int? languageId)
Parameters
Type |
Name |
Description |
System.Object |
value |
|
System.Object |
dataTypeConfiguration |
|
System.Nullable<System.Int32> |
languageId |
|
Returns
Type |
Description |
IEnumerable<ITag> |
|
View Source
MapBlockValueFromEditor(TValue)
Declaration
protected void MapBlockValueFromEditor(TValue blockValue)
Parameters
Type |
Name |
Description |
TValue |
blockValue |
|
View Source
MapBlockValueToEditor(IProperty, TValue)
Declaration
protected void MapBlockValueToEditor(IProperty property, TValue blockValue)
Parameters
Type |
Name |
Description |
IProperty |
property |
|
TValue |
blockValue |
|