Show / Hide Table of Contents

Struct GCLatencyModeScope

Represents lexical scope of the specific GC latency mode.

Implements
IDisposable
Inherited Members
ValueType.Equals(object)
ValueType.GetHashCode()
ValueType.ToString()
object.GetType()
object.Equals(object, object)
object.ReferenceEquals(object, object)
Namespace: DotNext.Runtime
Assembly: DotNext.dll
Syntax
public readonly struct GCLatencyModeScope : IDisposable

Constructors

View Source

GCLatencyModeScope(GCLatencyMode)

Initializes a new scope that affects GC intrusion level.

Declaration
public GCLatencyModeScope(GCLatencyMode mode)
Parameters
Type Name Description
GCLatencyMode mode

GC latency mode.

Methods

View Source

Dispose()

Cancels previously defined GC latency.

Declaration
public void Dispose()

Implements

IDisposable

Extension Methods

BasicExtensions.IsBetween<T, TLowerBound, TUpperBound>(T, TLowerBound, TUpperBound)
BasicExtensions.IsOneOf<T>(T, params ReadOnlySpan<T>)
Enumerator.Skip<TEnumerator, T>(ref TEnumerator, int)
  • View Source
☀
☾
In this article
Back to top
Supported by the .NET Foundation
☀
☾