相关疑难解决方法(0)

为什么AppDomainSetup.ShadowCopyFiles是一个字符串?

文档:

包含字符串值"true"的String,表示启用了卷影复制; 或"false"表示阴影复制已关闭.

从1.1开始就是这样.谁能摆脱任何光明?

我反射了吸气剂和定型器以获得良好的测量:

public string ShadowCopyFiles
{
    get
    {
        return this.Value[8];
    }
    set
    {
        if ((value != null) && (string.Compare(value, "true", StringComparison.OrdinalIgnoreCase) == 0))
        {
            this.Value[8] = value;
        }
        else
        {
            this.Value[8] = null;
        }
    }
}

//The referenced Value property...

internal string[] Value
{
    get
    {
        if (this._Entries == null)
        {
            this._Entries = new string[0x10];
        }
        return this._Entries;
    }
}

private string[] _Entries; 
Run Code Online (Sandbox Code Playgroud)

那么也许Value数组会产生一个更简单的复制构造函数或什么?

c# appdomainsetup

14
推荐指数
1
解决办法
2619
查看次数

标签 统计

appdomainsetup ×1

c# ×1