Ejemplo n.º 1
0
 internal CompletedInvocation(
     RecipientDescription recipient,
     [AllowNull] TResponse result,
     TimeSpan duration) : base(recipient)
 {
     Result   = result;
     Duration = duration;
 }
 internal FaultedInvocation(
     RecipientDescription recipient,
     Exception?exception,
     TimeSpan duration) : base(recipient)
 {
     Exception = exception;
     Duration  = duration;
 }
Ejemplo n.º 3
0
 public void Deconstruct(
     out RecipientDescription recipient,
     [MaybeNull] out TResponse result,
     out TimeSpan duration)
 {
     recipient = Recipient;
     result    = Result;
     duration  = Duration;
 }
 public void Deconstruct(
     out RecipientDescription recipient,
     out Exception?exception,
     out TimeSpan duration)
 {
     recipient = Recipient;
     exception = Exception;
     duration  = Duration;
 }