NonCapturingLazyInitializer NonCapturingLazyInitializer Class

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.

Syntax

Declaration

public static class NonCapturingLazyInitializerPublic Module NonCapturingLazyInitializer

Inheritance Hierarchy

  • System.Object
    System.Object
  • NonCapturingLazyInitializer
    NonCapturingLazyInitializer

Inherited Members

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

Methods summary

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.

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.

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

    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

    Parameters

    • target
      TValue
      TValue
    • param
      TParam
      TParam
    • valueFactory
      System.Func<T, TResult><TParam, TValue>
      System.Func<T, TResult>(Of TParam, TValue)

    Returns

    • TValue
      TValue

Details

Assembly

Microsoft.EntityFrameworkCore.dll