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."); }
public EmailContext(EmailContext context) { Client = context.Client; }