blob: 291123969e9eea167b081c979e4756d01b24118f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
// System.ComponentModel.Design.Serialization.ContextStack.cs
//
// Author:
// Alejandro Sánchez Acosta <raciel@gnome.org>
//
// (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 ();}
}
}
}
|