November Happy Hour will be moved to Thursday December 5th.

Interface ILazyProperty

Describes a PropertyData class with support for lazy loading of it's value.

Namespace: EPiServer.Core.Internal
Assembly: EPiServer.dll
Version: 12.0.3
Syntax
public interface ILazyProperty
Remarks

The implementing of this interface in a property must be accompanied by support in the data access backend to fully support lazy value loading.

Properties

HasLazyValue

Gets a value indicating if an existing value has been loaded.

Declaration
bool HasLazyValue { get; }
Property Value
Type Description
System.Boolean

Methods

AssignValueFactory(Func<Object>)

Assigns a factory method that can provide a property with the value.

Declaration
void AssignValueFactory(Func<object> valueFactory)
Parameters
Type Name Description
System.Func<System.Object> valueFactory

The value factory method.

Extension Methods