C# Class OrchardCore.DisplayManagement.Notify.NotifierExtensions

Show file Open project: herenwei/orchardcorechinesedocument

Public Methods

Method Description
Error ( INotifier notifier, LocalizedHtmlString message ) : void

Adds a new UI notification of type Error

Information ( INotifier notifier, LocalizedHtmlString message ) : void

Adds a new UI notification of type Information

Success ( INotifier notifier, LocalizedHtmlString message ) : void

Adds a new UI notification of type Success

Warning ( INotifier notifier, LocalizedHtmlString message ) : void

Adds a new UI notification of type Warning

Method Details

Error() public static method

Adds a new UI notification of type Error
public static Error ( INotifier notifier, LocalizedHtmlString message ) : void
notifier INotifier
message LocalizedHtmlString A localized message to display
return void

Information() public static method

Adds a new UI notification of type Information
public static Information ( INotifier notifier, LocalizedHtmlString message ) : void
notifier INotifier
message LocalizedHtmlString A localized message to display
return void

Success() public static method

Adds a new UI notification of type Success
public static Success ( INotifier notifier, LocalizedHtmlString message ) : void
notifier INotifier
message LocalizedHtmlString A localized message to display
return void

Warning() public static method

Adds a new UI notification of type Warning
public static Warning ( INotifier notifier, LocalizedHtmlString message ) : void
notifier INotifier
message LocalizedHtmlString A localized message to display
return void