Files
mono/mcs/class/System.Web/System.Web.SessionState/SessionDictionary.cs
T
Gonzalo Paniagua Javier 9d79ec487d 2002-08-18 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HttpContext.cs: reformatted.
	* System.Web/HttpStaticObjectsCollection.cs: implemented GetEnumertor,
	CopyTo and the indexer.
	* System.Web.Compilation/PageCompiler.cs: fixed compilation.
	* System.Web.SessionState/HttpSessionState.cs: IsAbandoned is internal.
	* System.Web.SessionState/SessionDictionary.cs: scope fixes.
	* System.Web.SessionState/SessionStateModule.cs: added events.

svn path=/trunk/mcs/; revision=6730
2002-08-19 01:31:11 +00:00

94 lines
1.3 KiB
C#

//
// System.Web.SessionState.SessionDictionary
//
// Authors:
// Gonzalo Paniagua Javier ([email protected])
//
// (C) 2002 Ximian, Inc (http://www.ximian.com)
//
using System;
using System.IO;
using System.Collections.Specialized;
namespace System.Web.SessionState {
internal class SessionDictionary : NameObjectCollectionBase
{
private bool _dirty;
static SessionDictionary ()
{
}
public SessionDictionary ()
{
}
void Clear ()
{
_dirty = true;
BaseClear ();
}
[MonoTODO]
static SessionDictionary Deserialize (BinaryReader r)
{
throw new NotImplementedException ();
}
public string GetKey (int index)
{
return BaseGetKey (index);
}
[MonoTODO]
static bool IsInmutable (object o)
{
throw new NotImplementedException ();
}
void Remove (string s)
{
BaseRemove (s);
_dirty = true;
}
void RemoveAt (int index)
{
BaseRemoveAt (index);
_dirty = true;
}
[MonoTODO]
void Serialize(BinaryWriter w)
{
throw new NotImplementedException ();
}
bool Dirty
{
get { return _dirty; }
set { _dirty = value; }
}
internal object this [string s]
{
get { return BaseGet (s); }
set {
BaseSet (s, value);
_dirty = true;
}
}
public object this [int index]
{
get { return BaseGet (index); }
set {
BaseSet (index, value);
_dirty = true;
}
}
}
}