Skip to content

Misleading method parameters  #42

@NFGomes

Description

@NFGomes

The signature of the method

public static string Create(AuthenticationDetails auth, string clientID, string title, string unsubscribePage, bool confirmedOptIn, string confirmationSuccessPage, UnsubscribeSetting unsubscribeSetting)

on the List class has confirmedOptIn as one of the properties, this is some what misleading since when set to true you expect the list to be created with the recipients already confirmed but no, setting it to true means that the recipients need to confirm their subscription, setting confirmedOptIn to false creates the list with the recipients already confirmed.

In my opinion this can cause some confusion and changing it's name to confirmOptIn would help clearing some confusion.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions