Пример #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.");
 }
Пример #2
0
 public EmailContext(EmailContext context)
 {
     Client = context.Client;
 }