Od documentation:Dlaczego AppDomainSetup.ShadowCopyFiles ciąg znaków?
łańcuch zawierający ciąg znaków „true”, aby wskazać, że kopiowanie cień jest włączona; lub "false", aby wskazać, że kopiowanie w tle jest wyłączone.
I tak było od 1.1. Czy ktoś może rzucić jakiekolwiek światło?
I reflector'd getter i setter na dokładkę:
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;
Więc może tablica Value
rodzi łatwiejszy konstruktor kopiujący, czy coś?