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

📄 tagconfiguration.cs

📁 破解的飞信源代码
💻 CS
字号:
namespace Imps.Utils.TagParser
{
    using System;

    public class TagConfiguration
    {
        private string tagName;
        private System.Type type;

        public object CreateInstance()
        {
            object obj2 = null;
            if (this.Type != null)
            {
                obj2 = Activator.CreateInstance(this.Type, new object[] { this.tagName });
            }
            if (obj2 == null)
            {
                throw new Exception(string.Format("不能创建\"{0}\"的实例,参数名:\"{1}\"", this.Type.ToString(), this.tagName));
            }
            return obj2;
        }

        public string TagName
        {
            get
            {
                return this.tagName;
            }
            set
            {
                this.tagName = value;
            }
        }

        public System.Type Type
        {
            get
            {
                return this.type;
            }
            set
            {
                this.type = value;
            }
        }
    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -