Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

Interface ILazyProperty

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Describes a PropertyData class with support for lazy loading of it's value.

Namespace: EPiServer.Core.Internal
Assembly: EPiServer.dll
Version: 11.20.7
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

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. 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>)

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. 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