RAIN.Action.NestedActionContext Class Reference
Inheritance diagram for RAIN.Action.NestedActionContext:
RAIN.Action.ActionContext

List of all members.

Public Member Functions

override T GetContextItem< T > (string itemName)
 GetContextItem retrieves a value from the ActionContext based on its key itemName.
override bool ContextItemExists (string itemName)
 Check to see if any item exists with the given itemName.

Public Attributes

ActionContext secondaryContext = null

Member Function Documentation

override bool RAIN.Action.NestedActionContext.ContextItemExists ( string  itemName) [virtual]

Check to see if any item exists with the given itemName.

Parameters:
itemNameThe key to search for
Returns:
true if any item exists with key itemName, false otherwise

Reimplemented from RAIN.Action.ActionContext.

override T RAIN.Action.NestedActionContext.GetContextItem< T > ( string  itemName) [virtual]

GetContextItem retrieves a value from the ActionContext based on its key itemName.

Template Parameters:
TThe Type of the item to retrieve
Parameters:
itemNameThe Name of the item to retrieve
Returns:
If a value is found of type T with key name itemName, that value is returned. If a value is found matching itemName but of a different type, null is returned. If the itemName does not exist in the context, null is returned.

Reimplemented from RAIN.Action.ActionContext.