Interface IDataValueReferenceFactory
Represents a factory for creating IDataValueReference instances for specific data editors.
Namespace: Umbraco.Cms.Core.PropertyEditors
Assembly: Umbraco.Core.dll
Syntax
public interface IDataValueReferenceFactory
Methods
View SourceGetDataValueReference()
Gets the IDataValueReference instance for extracting entity references from property values.
Declaration
IDataValueReference GetDataValueReference()
Returns
| Type | Description |
|---|---|
| IDataValueReference | An IDataValueReference instance. |
IsForEditor(IDataEditor?)
Gets a value indicating whether the DataValueReference lookup supports a datatype (data editor).
Declaration
bool IsForEditor(IDataEditor? dataEditor)
Parameters
| Type | Name | Description |
|---|---|---|
| IDataEditor | dataEditor | The data editor to check. |
Returns
| Type | Description |
|---|---|
| bool | A value indicating whether the converter supports a datatype. |