summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBobMcLaren <bobmclaren@fssi-ca.com>2012-05-31 22:29:21 -0400
committerBobMcLaren <bobmclaren@fssi-ca.com>2012-05-31 22:29:21 -0400
commitbd9e8739bf7ec7ec41c3853d42894bb8b9494ded (patch)
tree7c5edbacba86ca0dc61e8b38d59be32d9d8f9e8a
parent1dc99b4e6cb840d19402d0664827dcb5131d1fc8 (diff)
downloadsendgrid-csharp-bd9e8739bf7ec7ec41c3853d42894bb8b9494ded.zip
sendgrid-csharp-bd9e8739bf7ec7ec41c3853d42894bb8b9494ded.tar.gz
sendgrid-csharp-bd9e8739bf7ec7ec41c3853d42894bb8b9494ded.tar.bz2
Minor change to make variable names consistent
-rwxr-xr-xSendGrid/SendGridMail/Header.cs5
-rwxr-xr-xSendGrid/SendGridMail/IHeader.cs4
2 files changed, 4 insertions, 5 deletions
diff --git a/SendGrid/SendGridMail/Header.cs b/SendGrid/SendGridMail/Header.cs
index 127b05a..6b92a07 100755
--- a/SendGrid/SendGridMail/Header.cs
+++ b/SendGrid/SendGridMail/Header.cs
@@ -21,10 +21,9 @@ namespace SendGridMail
_settings.AddArray(keys, substitutions);
}
-
- public void AddTo(IEnumerable<string> recipients)
+ public void AddTo(IEnumerable<string> addresses)
{
- _settings.AddArray(new List<string> { "to" }, recipients);
+ _settings.AddArray(new List<string> { "to" }, addresses);
}
public void AddUniqueIdentifier(IDictionary<string, string> identifiers)
diff --git a/SendGrid/SendGridMail/IHeader.cs b/SendGrid/SendGridMail/IHeader.cs
index 4045385..b5b9c3f 100755
--- a/SendGrid/SendGridMail/IHeader.cs
+++ b/SendGrid/SendGridMail/IHeader.cs
@@ -23,8 +23,8 @@ namespace SendGridMail
/// This adds the "to" array to the X-SMTPAPI header so that multiple recipients
/// may be addressed in a single email. (but they each get their own email, instead of a single email with multiple TO: addressees)
/// </summary>
- /// <param name="recipients">List of email addresses</param>
- void AddTo(IEnumerable<string> recipients);
+ /// <param name="addresses">List of email addresses</param>
+ void AddTo(IEnumerable<string> addresses);
/// <summary>
/// This adds parameters and values that will be bassed back through SendGrid's