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.GetType()
object.Equals(object, object)
object.ReferenceEquals(object, object)
Namespace: DotNext.Threading.Leases
Assembly: DotNext.Threading.dll
Syntax
protected readonly struct LeaseConsumer.AcquisitionResult

Properties

View Source

Identity

Gets or sets the identity of the lease.

Declaration
public required LeaseIdentity Identity { get; init; }
Property Value
Type Description
LeaseIdentity
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, params ReadOnlySpan<T>)
Enumerator.Skip<TEnumerator, T>(ref TEnumerator, int)
  • View Source
☀
☾
In this article
Back to top
Supported by the .NET Foundation
☀
☾