blob: bcf88bbc4361a3da0ec51380263b3db7b3cdec9d (
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
46
47
48
|
//
// System.Web.UI.CssStyleCollection.cs
//
// Duncan Mak (duncan@ximian.com)
//
// (C) Ximian, Inc.
//
using System;
using System.Collections;
namespace System.Web.UI {
public sealed class CssStyleCollection
{
Hashtable list = new Hashtable ();
public int Count {
get { return list.Count; }
}
public string this [string key] {
get { return list [key] as string; }
set { list [key] = value; }
}
public ICollection Keys {
get { return list.Keys; }
}
public void Add (string key, string value)
{
list.Add (key, value);
}
public void Clear ()
{
list.Clear ();
}
public void Remove (string key)
{
list.Remove (key);
}
}
}
|