MailChimp.NET icon indicating copy to clipboard operation
MailChimp.NET copied to clipboard

ListFilter comment issue

Open TreborT opened this issue 12 years ago • 2 comments

The summary comments for ListFilter.Exact state that this defaults to true. I think it should say it defaults to false. Maybe I've misunderstood how it's supposed to work though.

    /// <summary>
    /// optional - flag for whether to filter on exact values when filtering, 
    /// or search within content for filter values - defaults to true
    /// </summary>

I.e., if I have the following three lines,

 string listName = "Test";
  ListFilter filter = new ListFilter();
  filter.ListName = listName;

The immediate window returns false for filter.Exact.

TreborT avatar Dec 01 '13 04:12 TreborT

@danesparza It seems to me that the property should be changed from bool Exact to bool? Exact. I'd be happy to do that today.

DDtMM avatar Mar 12 '14 12:03 DDtMM

@DDtMM Agreed. It appears to be an optional member, so that would be more appropriate. To contribute, please fork the repo, make the change and then submit a pull request.

danesparza avatar Mar 12 '14 13:03 danesparza