|
From: <fli...@us...> - 2009-01-14 16:48:17
|
Revision: 222
http://structuremap.svn.sourceforge.net/structuremap/?rev=222&view=rev
Author: flimflan
Date: 2009-01-14 16:48:11 +0000 (Wed, 14 Jan 2009)
Log Message:
-----------
Applied patch by James Willock to fix the HTTP Session instance scope
Modified Paths:
--------------
trunk/Source/StructureMap/Pipeline/HttpContextBuildPolicy.cs
Modified: trunk/Source/StructureMap/Pipeline/HttpContextBuildPolicy.cs
===================================================================
--- trunk/Source/StructureMap/Pipeline/HttpContextBuildPolicy.cs 2009-01-12 03:30:55 UTC (rev 221)
+++ trunk/Source/StructureMap/Pipeline/HttpContextBuildPolicy.cs 2009-01-14 16:48:11 UTC (rev 222)
@@ -72,12 +72,12 @@
public void CopyTo(Array array, int index)
{
- throw new NotImplementedException();
+ _session.CopyTo(array, index);
}
public int Count
{
- get { throw new NotImplementedException(); }
+ get { return _session.Count; }
}
public object SyncRoot
@@ -87,7 +87,7 @@
public bool IsSynchronized
{
- get { throw new NotImplementedException(); }
+ get { return _session.IsSynchronized; }
}
public bool Contains(object key)
@@ -102,7 +102,7 @@
public void Clear()
{
- throw new NotImplementedException();
+ _session.Clear();
}
public IDictionaryEnumerator GetEnumerator()
@@ -112,18 +112,18 @@
public void Remove(object key)
{
- throw new NotImplementedException();
+ _session.Remove(key.ToString());
}
public object this[object key]
{
- get { throw new NotImplementedException(); }
- set { throw new NotImplementedException(); }
+ get { return _session[key.ToString()]; }
+ set { _session[key.ToString()] = value; }
}
public ICollection Keys
{
- get { throw new NotImplementedException(); }
+ get { return _session.Keys; }
}
public ICollection Values
@@ -133,7 +133,7 @@
public bool IsReadOnly
{
- get { throw new NotImplementedException(); }
+ get { return _session.IsReadOnly; }
}
public bool IsFixedSize
@@ -143,4 +143,4 @@
#endregion
}
-}
\ No newline at end of file
+}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|