Non​Capturing​Lazy​Initializer Non​Capturing​Lazy​Initializer 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 static class NonCapturingLazyInitializerPublic Module NonCapturingLazyInitializer
Inheritance
System.ObjectSystem.Object
NonCapturingLazyInitializerNonCapturingLazyInitializer

Inherited Members

System.Object

System.Object.ToString()System.Object.ToString()
System.Object.Equals(System.Object)System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()System.Object.GetHashCode()
System.Object.GetType()System.Object.GetType()
System.Object.MemberwiseClone()System.Object.MemberwiseClone()

Methods

EnsureInitialized<TValue>(ref TValue, TValue) EnsureInitialized(Of TValue)(ByRef TValue, TValue)

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 static TValue EnsureInitialized<TValue>(ref TValue target, TValue value)where TValue : classPublic Shared Function EnsureInitialized(Of TValue As Class)(ByRef target As TValue, value As TValue) As TValue
Type Parameters
TValue
Parameters
target
TValue TValue
value
TValue TValue
Returns
TValue TValue

EnsureInitialized<TParam, TValue>(ref TValue, TParam, Func<TParam, TValue>) EnsureInitialized(Of TParam, TValue)(ByRef TValue, TParam, Func(Of TParam, TValue))

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 static TValue EnsureInitialized<TParam, TValue>(ref TValue target, TParam param, Func<TParam, TValue> valueFactory)where TValue : classPublic Shared Function EnsureInitialized(Of TParam, TValue As Class)(ByRef target As TValue, param As TParam, valueFactory As Func(Of TParam, TValue)) As TValue
Type Parameters
TParam
TValue
Parameters
target
TValue TValue
param
TParam TParam
valueFactory
System.Func<TParam, TValue> System.Func(Of TParam, TValue)
Returns
TValue TValue