Class SpecialistRequestClaim
- Namespace
- IntentSharp.Specialist
- Assembly
- IntentSharp.Specialist.dll
What BeginRequestAsync(string, string, int, DateTimeOffset, CancellationToken) decided: this caller sends the request (IsBegun), a ticket is already recorded (Ticket), the hourly limit was reached (IsLimitReached), or another caller is sending it now (IsInProgress). Exactly one of the four holds.
public sealed class SpecialistRequestClaim
- Inheritance
-
objectSpecialistRequestClaim
- Inherited Members
-
object.Equals(object)object.Equals(object, object)object.GetHashCode()object.GetType()object.ReferenceEquals(object, object)object.ToString()
- Extension Methods
Properties
- Begun
This caller sends the request; its time is recorded.
- InProgress
Another caller is sending the request now; wait for its ticket.
- IsBegun
True when this caller sends the request.
- IsInProgress
True when another caller is sending the request now.
- IsLimitReached
True when the hourly limit was reached.
- LimitReached
The intent already had as many requests in the last hour as allowed; nothing is sent.
- Ticket
The ticket already recorded, or null.
Methods
- Recorded(SpecialistTicket)
The request was already sent, and this is its ticket.