public AttachmentExecutionResult(ExecutionResult executionResult, IOutgoingAttachments attachments)
 {
     Guard.AgainstNull(nameof(executionResult), executionResult);
     Guard.AgainstNull(nameof(attachments), attachments);
     ExecutionResult = executionResult;
     Attachments     = attachments;
 }
Exemple #2
0
 public AttachmentExecutionResult(ExecutionResult executionResult, IOutgoingAttachments attachments)
 {
     ExecutionResult = executionResult;
     Attachments     = attachments;
 }
 public AttachmentContext(IIncomingAttachments incoming)
 {
     Guard.AgainstNull(nameof(incoming), incoming);
     Incoming = incoming;
     Outgoing = new OutgoingAttachments();
 }
 public AttachmentContext()
 {
     Outgoing = new OutgoingAttachments();
     Incoming = new IncomingAttachments();
 }
 public AttachmentContext(IIncomingAttachments incoming)
 {
     Incoming = incoming;
     Outgoing = new OutgoingAttachments();
 }