diff options
author | paroos <pa.roos@icloud.com> | 2014-05-09 19:26:42 +0200 |
---|---|---|
committer | paroos <pa.roos@icloud.com> | 2014-05-09 19:26:42 +0200 |
commit | a78d09d53a5dcfcd620d9e2ec5665389ebeb017e (patch) | |
tree | 21565f8eb635229a7c291c05280cbad21ca50e45 /SendGrid/Example/Program.cs | |
parent | 3806e9f9c7dd393dc8c7e13447b0f29a733a136f (diff) | |
download | sendgrid-csharp-a78d09d53a5dcfcd620d9e2ec5665389ebeb017e.zip sendgrid-csharp-a78d09d53a5dcfcd620d9e2ec5665389ebeb017e.tar.gz sendgrid-csharp-a78d09d53a5dcfcd620d9e2ec5665389ebeb017e.tar.bz2 |
Factory removed from Web
Public constructor created (IoC friendly)
Diffstat (limited to 'SendGrid/Example/Program.cs')
-rw-r--r-- | SendGrid/Example/Program.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/SendGrid/Example/Program.cs b/SendGrid/Example/Program.cs index 2b99395..275f6b9 100644 --- a/SendGrid/Example/Program.cs +++ b/SendGrid/Example/Program.cs @@ -21,7 +21,7 @@ namespace Example var credentials = new NetworkCredential("username", "password");
// Create a Web transport for sending email.
- var transportWeb = Web.GetInstance(credentials);
+ var transportWeb = new Web(credentials);
// Send the email.
if (transportWeb != null)
|