Show / Hide Table of Contents

Struct LeaseAcquisitionResult<TMetadata>

Represents a result of lease acquisition operation.

Inherited Members
ValueType.Equals(object)
ValueType.GetHashCode()
ValueType.ToString()
object.GetType()
object.Equals(object, object)
object.ReferenceEquals(object, object)
Namespace: DotNext.Threading.Leases
Assembly: DotNext.Threading.dll
Syntax
public readonly struct LeaseAcquisitionResult<TMetadata>
Type Parameters
Name Description
TMetadata

The type of metadata associated with a lease.

Fields

View Source

Expiration

The expiration timeout.

Declaration
public readonly Timeout Expiration
Field Value
Type Description
Timeout
View Source

State

The state of the lease.

Declaration
public readonly LeaseState<TMetadata> State
Field Value
Type Description
LeaseState<TMetadata>

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
☀
☾