Ejemplo n.º 1
0
 public EmailFolderContext(EmailContext context, IMailFolder folder)
     : base(context)
 {
     Folder = folder ?? throw new InvalidOperationException($"Unknown folder to search in. Active folder is not set. Invoke {nameof(OpenInbox)} method for example.");
 }
Ejemplo n.º 2
0
 public EmailContext(EmailContext context)
 {
     Client = context.Client;
 }