ToastMessage Class

A message to be displayed on the ToastService

Definition

Namespace: BlazorBootstrap
Assembly: BlazorBootstrap (in BlazorBootstrap.dll) Version: 0.7+ce90b2cf6b782b8d7b7fd47b3c546987c652c00f
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