Worker
AuthorityCallDecision
The decision for one incoming call: the action and, for a rejection, the reason.
generated from the sources
Struct in namespace
Nebula · Packages/com.1by3.nebula/Runtime/Worker/AuthorityCallContract.cspublic readonly struct AuthorityCallDecisionThe decision for one incoming call: the action and, for a rejection, the reason.
Constructors
AuthorityCallDecision
public AuthorityCallDecision(AuthorityCallAction action, AuthorityCallOutcome outcome);Fields
ApplyIt
public static readonly AuthorityCallDecision ApplyIt = new AuthorityCallDecision(AuthorityCallAction.Apply, AuthorityCallOutcome.Accepted);ForwardIt
public static readonly AuthorityCallDecision ForwardIt = new AuthorityCallDecision(AuthorityCallAction.Forward, AuthorityCallOutcome.Pending);Properties
Action
public AuthorityCallAction Action { get; }Outcome
public AuthorityCallOutcome Outcome { get; }AuthorityCallOutcome.Accepted for an apply, AuthorityCallOutcome.Pending for a forward, the reason for a rejection.
Methods
Reject
public static AuthorityCallDecision Reject(AuthorityCallOutcome why);ToString
public override string ToString();