diff options
author | Brandon West <brawest@gmail.com> | 2014-05-21 16:29:53 -0600 |
---|---|---|
committer | Brandon West <brawest@gmail.com> | 2014-05-21 16:29:53 -0600 |
commit | c48471c02bc8e9d47e4735fda5e3244636b118ef (patch) | |
tree | eff78a2f0a5c7243880855a8dd210279341f425c /SendGrid/SendGridMail/Transport/Web.cs | |
parent | 20c3fb41794d39286965f515ab93c4d445380050 (diff) | |
parent | 47a7cc0bc1b4f5564b9768e32c71f9263da5e74b (diff) | |
download | sendgrid-csharp-c48471c02bc8e9d47e4735fda5e3244636b118ef.zip sendgrid-csharp-c48471c02bc8e9d47e4735fda5e3244636b118ef.tar.gz sendgrid-csharp-c48471c02bc8e9d47e4735fda5e3244636b118ef.tar.bz2 |
Merge pull request #57 from paroos/master
Improve handling with an IoC container
Diffstat (limited to 'SendGrid/SendGridMail/Transport/Web.cs')
-rw-r--r-- | SendGrid/SendGridMail/Transport/Web.cs | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/SendGrid/SendGridMail/Transport/Web.cs b/SendGrid/SendGridMail/Transport/Web.cs index a26e9e0..7bb8e58 100644 --- a/SendGrid/SendGridMail/Transport/Web.cs +++ b/SendGrid/SendGridMail/Transport/Web.cs @@ -29,7 +29,7 @@ namespace SendGridMail /// </summary>
/// <param name="credentials">SendGrid user parameters</param>
/// <param name="https">Use https?</param>
- internal Web(NetworkCredential credentials)
+ public Web(NetworkCredential credentials)
{
_credentials = credentials;
}
@@ -53,17 +53,6 @@ namespace SendGridMail }
/// <summary>
- /// Factory method for Web transport of sendgrid messages
- /// </summary>
- /// <param name="credentials">SendGrid credentials for sending mail messages</param>
- /// <param name="https">Use https?</param>
- /// <returns>New instance of the transport mechanism</returns>
- public static Web GetInstance(NetworkCredential credentials)
- {
- return new Web(credentials);
- }
-
- /// <summary>
/// Asynchronously delivers a message over SendGrid's Web interface
/// </summary>
/// <param name="message"></param>
|