⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 attribute.cs

📁 Freetextbox是优秀的在线编辑器
💻 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 + -