attlist.cs
来自「Freetextbox是优秀的在线编辑器」· CS 代码 · 共 38 行
CS
38 行
namespace FreeTextBoxControls.Support.Sgml
{
using System;
using System.Collections;
using System.Reflection;
public class AttList : IEnumerable
{
public AttList()
{
this.AttDefs = new Hashtable();
}
public void Add(AttDef a)
{
this.AttDefs.Add(a.Name, a);
}
public IEnumerator GetEnumerator()
{
return this.AttDefs.Values.GetEnumerator();
}
public AttDef this[string name]
{
get
{
return (AttDef) this.AttDefs[name];
}
}
private Hashtable AttDefs;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?