Castle.MonoRail.Framework.Adapters.SessionAdapter.Add C# (CSharp) Method

Add() public method

Adds an element with the provided key and value to the object.
An element with the same key already exists in the object. key is null. The is read-only.-or- The has a fixed size.
public Add ( object key, object value ) : void
key object The to use as the key of the element to add.
value object The to use as the value of the element to add.
return void
		public void Add( object key, object value )
		{
			_session.Add( (String)key, value );
		}