13
从documentation:为什么AppDomainSetup.ShadowCopyFiles一个字符串?
一个包含字符串值“真”,以指示复制的阴影的字符串被接通;或“false”表示阴影复制已关闭。
而且由于它的1.1一直这样。任何人都可以摆脱光线吗?
我reflector'd良好的措施getter和setter:
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;
所以,也许Value
阵列相生一个更简单的拷贝构造函数或东西吗?