mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-16 17:10:20 -10:00
* System.Web.build: Added new arguments: "/noconfig", "/r:System.Drawing.dll" and "/r:System.Xml.dll". * AttributeCollection.cs: * ControlCollection.cs: * CssStyleCollection.cs: * DataBindingCollection.cs: * EmptyControlCollection.cs: Added missing Collection classes. * BaseParser.cs: * TemplateParser.cs: Implemented. BaseParser is weird because there is no documentation on what it does. * ControlBuilder.cs: * DataBinder.cs: * DataBinding.cs: Added. * DataBoundLiteralControl.cs: * Triplet.cs: Added. * RenderMethod.cs: Added this delegate for Control.cs svn path=/trunk/mcs/; revision=4726
49 lines
687 B
C#
Executable File
49 lines
687 B
C#
Executable File
//
|
|
// System.Web.UI.CssStyleCollection.cs
|
|
//
|
|
// Duncan Mak ([email protected])
|
|
//
|
|
// (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);
|
|
}
|
|
}
|
|
}
|