C# Class MvcFlashMessages.ControllerExtensions

显示文件 Open project: jarrettmeyer/mvcflashmessages

Public Methods

Method Description
Flash ( this controller, string key, string message ) : void

Add a new message to the flash with the given key.

Method Details

Flash() public static method

Add a new message to the flash with the given key.
public static Flash ( this controller, string key, string message ) : void
controller this Controller.
key string Flash key.
message string Flash message.
return void