C# Class 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.
Afficher le fichier Open project: atomicobject/mvccontrib Class Usage Examples

Méthodes publiques

Méthode Description
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.

Method Details

EmailMetadata() public méthode

Initializes an empty instance of EmailMetadata.
public EmailMetadata ( ) : System.Collections.Generic
Résultat System.Collections.Generic

EmailMetadata() public méthode

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.
Résultat System.Collections.Generic

EmailMetadata() public méthode

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.
Résultat System.Collections.Generic