LazyRef<T> LazyRef(Of T) Class

Definition

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public sealed class LazyRef<T>
Public NotInheritable Class LazyRef(Of T)
Type Parameters
T
Inheritance
System.ObjectSystem.Object
LazyRef<T>LazyRef(Of T)

Constructors

LazyRef(Func) LazyRef(Func(Of T))

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public LazyRef(Func<T> initializer)
Public Sub New(initializer As Func(Of T))
Parameters
initializer
System.Func<T> System.Func(Of T)

LazyRef(T) LazyRef(T)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public LazyRef(T value)
Public Sub New(value As T)
Parameters
value
T T

Properties

HasValue HasValue

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public bool HasValue { get; }
Public ReadOnly Property HasValue As Boolean
Value
System.Boolean System.Boolean

Value Value

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public T Value { get; set; }
Public Property Value As T
Value
T T

Methods

Equals(Object) Equals(Object)

Inherited from System.Object

Equals(Object, Object) Equals(Object, Object)

Inherited from System.Object

GetHashCode() GetHashCode()

Inherited from System.Object

GetType() GetType()

Inherited from System.Object

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

ReferenceEquals(Object, Object) ReferenceEquals(Object, Object)

Inherited from System.Object

Reset(Func) Reset(Func(Of T))

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public void Reset(Func<T> initializer)
Public Sub Reset(initializer As Func(Of T))
Parameters
initializer
System.Func<T> System.Func(Of T)

ToString() ToString()

Inherited from System.Object