| 123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- // 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 ();}
- }
- }
- }
|