blazorbootstrap icon indicating copy to clipboard operation
blazorbootstrap copied to clipboard

Add constructor with ToastType only

Open NathanJPhillips opened this issue 1 year ago • 1 comments

Add a constructor for ToastMessage that takes ToastType only.

With the new RenderFragment toast content a constructor that takes ToastType but not a string message now makes sense.

At the same time make some changes to other constructors: o Invoke simpler constructors from more complex ones to avoid duplicating code o Use default argument for autoHide instead of writing two separate constructors o Add autoHide parameter to constructor that takes IconName to mirror the constructor that takes customIconName

NathanJPhillips avatar Jan 07 '25 16:01 NathanJPhillips

Check failure looks unrelated to my changes. I believe it's caused by this error: The format of the analysis property sonar.login= is invalid

NathanJPhillips avatar Jan 15 '25 09:01 NathanJPhillips