📄 attribute.cs
字号:
namespace FreeTextBoxControls.Support.Sgml
{
using System;
internal class Attribute
{
public void Reset(string name, string value, char quote)
{
this.Name = name;
this.literalValue = value;
this.QuoteChar = quote;
this.DtdType = null;
}
public bool IsDefault
{
get
{
return (this.literalValue == null);
}
}
public string Value
{
get
{
if (this.literalValue != null)
{
return this.literalValue;
}
if (this.DtdType != null)
{
return this.DtdType.Default;
}
return null;
}
set
{
this.literalValue = value;
}
}
internal AttDef DtdType;
internal string literalValue;
internal string Name;
internal char QuoteChar;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -