IJsLazyValue<TValue> Interface

Creates the value of a lazy data property (IJsAdapter<TValue>.DefineLazyDataProperty): one object per property, which the adapter can give to the engine as the state of a shared callback, instead of a closure and its delegate.

public interface IJsLazyValue<TValue> where TValue : class

Type parameters

TValue
The type of the JavaScript values of the engine.

Methods

NameDescription
CreateValue()Creates the value of the property.

CreateValue()

Creates the value of the property.

TValue CreateValue()

Returns

TValue