c# - Why is AppDomainSetup.ShadowCopyFiles a string? -


from:

A string in which the string value to indicate that shadow is "true" "Imitation is on; Or "false" indicates that the shadow copy has been closed.

And because of that 1.1 can anybody shed light?

I have reflected the recipient and setter for good measure:

  public string ShadowCopyFiles {get this return.value [8]; } Set {if ((value! = Null) & amp; amp; (string.composition (value,} and {this.Value [8] = null;}}} // referenced value property ... internal String [] value {get (if (this._Entries == empty) {this._Entries = new string [0x10];} return it.}} Personal string [] _ ​​entries;   

Lesson ">

Caffeine deficiency is not to understand certain things.

This is clearly defined by NAT The first version can be a mistake because it can break the "legacy" code.

God, I just got it:

Your response to the .NET Framework Thanks for that! We believe that this is an inspection and the type of property should be Boolean. However, it is very difficult (if not impossible) to make this change in backward compatible (such as Orcas) because we compare string Any customer depending on the code Will e. So unfortunately we have to weigh the risks versus compatibility advantages of API cleanliness ... and when it is best to support our customer base, then wins usually earlier. We will track internally as a good thing to improve it and we will continue to consider it in future releases.

to


Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

jquery - SimpleModal Confirm fails to submit form -

php - Multiple Select with Explode: only returns the word "Array" -