ToastMessage Class

A message to be displayed on the ToastService

Definition

Namespace: BlazorBootstrap
Assembly: BlazorBootstrap (in BlazorBootstrap.dll) Version: 0.7+1dadc87dcf0a0f837e19a3ce2deb7c1cd85375d1
public sealed class ToastMessage : IEquatable<ToastMessage>
Inheritance
Object    ToastMessage
Implements
IEquatableToastMessage

Constructors

ToastMessage(ToastType, String, String) Public constructor title, color and message.
ToastMessage(ToastType, IconName, String, String) Public constructor with icon, title, color and message.
ToastMessage(ToastType, IconName, String, String, String) Public constructor with icon, title, additional help text, color and message.

Properties

HelpText Optional: additional commentary text to display.
IconName Icon to show in the message.
Message Optional: message to display to the user.
Title Optional: title of the message to display to the user.
Type Color of the Toast to display.

Methods

Equals(Object)Determines whether the specified object is equal to the current object.
(Overrides ObjectEquals(Object))
Equals(ToastMessage)Indicates whether the current object is equal to another object of the same type.
GetHashCodeServes as the default hash function.
(Overrides ObjectGetHashCode)

See Also