C# Класс MvcContrib.Services.EmailMetadata

Base class for email models. Derived classes will provide specific values to substitute placeholders in concrete emails. If nothing to substitute, this class can be used directly.
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
EmailMetadata ( ) : System.Collections.Generic

Initializes an empty instance of EmailMetadata.

EmailMetadata ( System.Net.Mail.MailAddress from, System.Net.Mail.MailAddress to ) : System.Collections.Generic

Initializes a new instance of the EmailMetadata class by using the specified "from" and "to" email addresses.

EmailMetadata ( string from, string to ) : System.Collections.Generic

Initializes a new instance of the EmailMetadata class by using the specified "from" and "to" email addresses.

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

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

Initializes an empty instance of EmailMetadata.
public EmailMetadata ( ) : System.Collections.Generic
Результат System.Collections.Generic

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

Initializes a new instance of the EmailMetadata class by using the specified "from" and "to" email addresses.
public EmailMetadata ( System.Net.Mail.MailAddress from, System.Net.Mail.MailAddress to ) : System.Collections.Generic
from System.Net.Mail.MailAddress A mail address of the sender.
to System.Net.Mail.MailAddress A mail address of the recipient.
Результат System.Collections.Generic

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

Initializes a new instance of the EmailMetadata class by using the specified "from" and "to" email addresses.
public EmailMetadata ( string from, string to ) : System.Collections.Generic
from string A string that contains email address of the sender.
to string A string that contains email address of the recipient.
Результат System.Collections.Generic