IdempotencyReservation
Namespace AgentPrism · Assembly
AgentPrism.Abstractions.dllThe result of an IIdempotencyStore.ReserveAsync call.
public sealed record IdempotencyReservation : IEquatable<IdempotencyReservation>Inheritance
Section titled “Inheritance”object ← IdempotencyReservation
Implements
Section titled “Implements”IEquatable<IdempotencyReservation>
Inherited Members
Section titled “Inherited Members”object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
Section titled “Constructors”IdempotencyReservation()
Section titled “ IdempotencyReservation()”public IdempotencyReservation()Properties
Section titled “Properties”Response
Section titled “ Response”Populated only for IdempotencyState.Completed.
public IdempotencyResponse? Response { get; init; }Property Value
Section titled “Property Value”The state the key was found in.
public required IdempotencyState State { get; init; }Property Value
Section titled “Property Value”Methods
Section titled “Methods”Equals(object?)
Section titled “ Equals(object?)”public override bool Equals(object? obj)Parameters
Section titled “Parameters”obj object?
Returns
Section titled “Returns”Equals(IdempotencyReservation?)
Section titled “ Equals(IdempotencyReservation?)”public bool Equals(IdempotencyReservation? other)Parameters
Section titled “Parameters”other IdempotencyReservation?
Returns
Section titled “Returns”GetHashCode()
Section titled “ GetHashCode()”public override int GetHashCode()Returns
Section titled “Returns”ToString()
Section titled “ ToString()”public override string ToString()Returns
Section titled “Returns”Operators
Section titled “Operators”operator ==(IdempotencyReservation?, IdempotencyReservation?)
Section titled “ operator ==(IdempotencyReservation?, IdempotencyReservation?)”public static bool operator ==(IdempotencyReservation? left, IdempotencyReservation? right)Parameters
Section titled “Parameters”left IdempotencyReservation?
right IdempotencyReservation?
Returns
Section titled “Returns”operator !=(IdempotencyReservation?, IdempotencyReservation?)
Section titled “ operator !=(IdempotencyReservation?, IdempotencyReservation?)”public static bool operator !=(IdempotencyReservation? left, IdempotencyReservation? right)Parameters
Section titled “Parameters”left IdempotencyReservation?
right IdempotencyReservation?