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
commita1c56cab547caf18a4c9ba060ab2d7d920111134 (patch)
tree7787f10e0647f4f77010b3d13f19a43986905d91
parentf97bb1a1b457276fc1d16cd9b01bf1e09b2a685f (diff)
downloadsendgrid-csharp-a1c56cab547caf18a4c9ba060ab2d7d920111134.zip
sendgrid-csharp-a1c56cab547caf18a4c9ba060ab2d7d920111134.tar.gz
sendgrid-csharp-a1c56cab547caf18a4c9ba060ab2d7d920111134.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