blob: 0394cec6a3bcdbce29e2c7edde821bfdd38887b7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
namespace SendGridMail
{
/// <summary>
/// Encapsulates the transport mechanism so that it can be used in a generic way,
/// regardless of the transport type
/// </summary>
public interface ITransport
{
/// <summary>
/// Delivers a message using the protocol of the derived class
/// </summary>
/// <param name="message">the message to be delivered</param>
void Deliver(ISendGrid message);
}
}
|