Property | Type | Description | |
---|---|---|---|
FlashKey | String |
Property | Type | Description | |
---|---|---|---|
Flash | System | ||
InternalAdd | void |
Method | Description | |
---|---|---|
Add ( object key, object value ) : void |
Adds an element with the specified key and value into the
|
|
Discard ( ) : void |
Marks the entire flash to be discarded by the end of the current action
|
|
Discard ( object key ) : void |
Marks Flash[key] to be discarded by the end of the current action
|
|
Flash ( ) : System |
Initializes a new instance of the Flash class.
|
|
Flash ( |
Initializes a new instance of the Flash class.
|
|
Keep ( ) : void |
Keeps the entire flash contents available for the next action
|
|
Keep ( object key ) : void |
Keeps the Flash['key'] contents available for the next action
|
|
Now ( object key, object value ) : void |
Sets a flash that will not be available to the next action, only to the current. This method enables you to use the flash as a central messaging system in your app. When you need to pass an object to the next action, you use the standard flash assign ( Entries set via
|
|
Sweep ( ) : void |
Remove any element thats not marked to be kept. This method is automatically called by the framework after the controller is processed.
|
|
this ( object key ) : object |
Gets or sets the System.Object with the specified key.
|
Method | Description | |
---|---|---|
Flash ( |
||
InternalAdd ( object key, object value ) : void |
Making sure we keep any item added to the flash directly for at least one more action.
|
public Add ( object key, object value ) : void | ||
key | object | The key of the element to add. |
value | object | The value of the element to add. The value can be null. |
return | void |
public Now ( object key, object value ) : void | ||
key | object | |
value | object | |
return | void |