using System.Threading.Tasks; namespace SendGrid { /// /// Encapsulates the transport mechanism so that it can be used in a generic way, /// regardless of the transport type /// public interface ITransport { /// /// Asynchronously delivers a message using the protocol of the derived class /// /// the message to be delivered Task DeliverAsync(ISendGrid message); } }