Skip to content

Streamlime verification control#18

Merged
kpreisser merged 1 commit intokpreisser:taskdialogfrom
RussKie:Streamline_verification_control
Apr 13, 2020
Merged

Streamlime verification control#18
kpreisser merged 1 commit intokpreisser:taskdialogfrom
RussKie:Streamline_verification_control

Conversation

@RussKie
Copy link

@RussKie RussKie commented Apr 9, 2020

  • Rename TaskDialogCheckBox -> TaskDialogVerificationCheckBox
  • Add an overload to set Checked via ctor
    var verificationText = new TaskDialogVerificationCheckBox("I know what I'm doing", checked: true);
    
  • Add an implicit operator to reduce boilerplate code:
    page.Verification = new TaskDialogVerificationCheckBox("I know what I'm doing");
    
    to
    page.Verification = "I know what I'm doing";
    

* Rename `TaskDialogCheckBox` -> `TaskDialogVerificationCheckBox`
* Add an overload to set `Checked` via ctor
  ```
  var verificationText = new TaskDialogVerificationCheckBox("I know what I'm doing", checked: true);
  ```
* Add an implicit operator to reduce boilerplate code:
  ```
  page.Verification = new TaskDialogVerificationCheckBox("I know what I'm doing");
  ```
  to
  ```
  page.Verification = "I know what I'm doing";
  ```
Copy link
Owner

@kpreisser kpreisser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@kpreisser kpreisser merged commit 9b98691 into kpreisser:taskdialog Apr 13, 2020
@RussKie RussKie deleted the Streamline_verification_control branch January 14, 2021 02:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants