Files
mono/mcs/class/System.Design/System.ComponentModel.Design.Serialization/ContextStack.cs
T
Gaurav Vaish 154d9b1bed 2002-12-06 Gaurav Vaish <[email protected]>
* *.cs                  - Use proper namespace for MonoTODO.

svn path=/trunk/mcs/; revision=9404
2002-12-06 14:47:21 +00:00

46 lines
1.2 KiB
C#

// System.ComponentModel.Design.Serialization.ContextStack.cs
//
// Author:
// Alejandro Sánchez Acosta <[email protected]>
//
// (C) Alejandro Sánchez Acosta
//
using System.Collections;
using System.Web.UI.Design;
namespace System.ComponentModel.Design.Serialization
{
public sealed class ContextStack
{
public ArrayList list;
public ContextStack () {
list = new ArrayList ();
}
public object Current {
get {
if (list.Count == 0) return null;
return list [list.Count - 1];
}
set {
list.Add (value);
}
}
[MonoTODO]
public object this[Type type] {
get { throw new NotImplementedException ();}
set { throw new NotImplementedException ();}
}
[MonoTODO]
public object this[int level] {
get { throw new NotImplementedException ();}
set { throw new NotImplementedException ();}
}
}
}