Paste from Visual Studio 代码高亮测试

2023/7/6 02:13:30

"<span style=color: blue>using System; <span style=color: blue>using System.Text; <span style=color: blue>using System.Collections;

<span style=color: blue>namespace Discuz.Config { <span style=color: gray>///

/// <span style=color: green>API配置信息类 <span style=color: gray>/// [<span style=color: #2b91af>Serializable] <span style=color: blue>public class <span style=color: #2b91af>APIConfigInfo : <span style=color: #2b91af>IConfigInfo { <span style=color: blue>private bool _enable; <span style=color: blue>private <span style=color: #2b91af>ApplicationInfoCollection _appCollection;

    <span style=""color: gray"">/// <summary>
    /// </span><span style=""color: green"">是否启用
    </span><span style=""color: gray"">/// </summary>
    </span><span style=""color: blue"">public bool </span>Enable
    {
        <span style=""color: blue"">get </span>{ <span style=""color: blue"">return </span>_enable; }
        <span style=""color: blue"">set </span>{ _enable = <span style=""color: blue"">value</span>; }
    }

    <span style=""color: gray"">/// <summary>
    /// </span><span style=""color: green"">整合程序集合
    </span><span style=""color: gray"">/// </summary>
    </span><span style=""color: blue"">public </span><span style=""color: #2b91af"">ApplicationInfoCollection </span>AppCollection
    {
        <span style=""color: blue"">get </span>{ <span style=""color: blue"">return </span>_appCollection; }
        <span style=""color: blue"">set </span>{ _appCollection = <span style=""color: blue"">value</span>; }
    }

}

}

大家好,这个是从VS中粘贴过来的代码,主要是为了测试代码着色,谢谢!"