ToastMessage(ToastType, IconName, String, String, String) Constructor

Public constructor with icon, title, additional help text, color and message.

Definition

Namespace: BlazorBootstrap
Assembly: BlazorBootstrap (in BlazorBootstrap.dll) Version: 0.8+34f1bbd8dc6b32752cfce829cbed66e15113d7ba
public ToastMessage(
	ToastType type,
	IconName iconName,
	string title,
	string helpText,
	string message
)

Parameters

type  ToastType
Type of message
iconName  IconName
Icon to display in the message
title  String
Title of the message
helpText  String
Additional commentary to display
message  String
Message contents

Exceptions

ArgumentExceptionThrown if message or helpText is IsNullOrWhiteSpace(String)

See Also