You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Every parameter after the first one is optional, but they're actually required if you want to call the method successfully. If you try calling GetStat("list") it's flagged as ambiguous because it doesn't know which to call. If you only want the first parameter to be specified, you instead have to call GetStat("list", null, null, new HashTable()).
The text was updated successfully, but these errors were encountered:
https://github.com/sailthru/sailthru-net-client/blob/master/Sailthru/Sailthru/SailthruClient.cs#L528
This
GetStat
method is overloaded:public SailthruResponse GetStat(String stat, String list = null, String date = null, Hashtable htOptions = null)
public SailthruResponse GetStat(String stat, String template = null, String startDate = null, String endDate = null, Hashtable htOptions = null)
Every parameter after the first one is optional, but they're actually required if you want to call the method successfully. If you try calling
GetStat("list")
it's flagged as ambiguous because it doesn't know which to call. If you only want the first parameter to be specified, you instead have to callGetStat("list", null, null, new HashTable())
.The text was updated successfully, but these errors were encountered: