Show / Hide Table of Contents

Struct LeaseConsumer.AcquisitionResult

Represents a result of lease acquisition operation.

Inherited Members
ValueType.Equals(object)
ValueType.GetHashCode()
ValueType.ToString()
object.Equals(object, object)
object.GetType()
object.ReferenceEquals(object, object)
Namespace: DotNext.Threading.Leases
Assembly: DotNext.Threading.dll
Syntax
protected readonly struct LeaseConsumer.AcquisitionResult

Properties

| Edit this page View Source

Identity

Gets or sets the identity of the lease.

Declaration
public required LeaseIdentity Identity { get; init; }
Property Value
Type Description
LeaseIdentity
| Edit this page View Source

TimeToLive

Gets or sets lease expiration time returned by the provider.

Declaration
public required TimeSpan TimeToLive { get; init; }
Property Value
Type Description
TimeSpan

Extension Methods

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