Show / Hide Table of Contents

Enum SoftReferenceState

Represents state of the referenced object.

Namespace: DotNext.Runtime
Assembly: DotNext.dll
Syntax
public enum SoftReferenceState

Fields

Name Description
Empty

The referenced object is not reachable via soft reference.

Strong

Soft reference acting as a strong reference so the referenced object is not available for GC.

Weak

Soft reference acting as a weak reference so the referenced object is available for GC.

Extension Methods

BasicExtensions.IsBetween<SoftReferenceState, TLowerBound, TUpperBound>(SoftReferenceState, TLowerBound, TUpperBound)
BasicExtensions.IsOneOf<SoftReferenceState>(SoftReferenceState, ReadOnlySpan<SoftReferenceState>)
Collection.ToAsyncEnumerator<SoftReferenceState, T>(SoftReferenceState, CancellationToken)
Collection.ToClassicEnumerator<SoftReferenceState, T>(SoftReferenceState)
Enumerator.Skip<SoftReferenceState, T>(ref SoftReferenceState, int)
ExpressionBuilder.Const<SoftReferenceState>(SoftReferenceState)
EnumType.GetCustomAttribute<SoftReferenceState, TAttribute>(SoftReferenceState)
EnumType.GetCustomAttributes<SoftReferenceState, TAttribute>(SoftReferenceState)
  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Supported by the .NET Foundation
☀
☾