C# Класс SmtpServer.Storage.CompositeMailboxFilter

Наследование: IMailboxFilter
Показать файл Открыть проект

Открытые методы

Метод Описание
CanAcceptFromAsync ( ISessionContext context, IMailbox @from, int size ) : Task

Returns a value indicating whether the given mailbox can be accepted as a sender.

CanDeliverToAsync ( ISessionContext context, IMailbox to, IMailbox @from ) : Task

Returns a value indicating whether the given mailbox can be accepted as a recipient to the given sender.

CompositeMailboxFilter ( ) : System.Linq

Constructor.

Описание методов

CanAcceptFromAsync() публичный Метод

Returns a value indicating whether the given mailbox can be accepted as a sender.
public CanAcceptFromAsync ( ISessionContext context, IMailbox @from, int size ) : Task
context ISessionContext The session context.
@from IMailbox
size int The estimated message size to accept.
Результат Task

CanDeliverToAsync() публичный Метод

Returns a value indicating whether the given mailbox can be accepted as a recipient to the given sender.
public CanDeliverToAsync ( ISessionContext context, IMailbox to, IMailbox @from ) : Task
context ISessionContext The session context.
to IMailbox The mailbox to test.
@from IMailbox
Результат Task

CompositeMailboxFilter() публичный Метод

Constructor.
public CompositeMailboxFilter ( ) : System.Linq
Результат System.Linq