8 private ConfigurationPropertyCollection properties =
new ConfigurationPropertyCollection();
10 private readonly ConfigurationProperty checkDeserializeAdvances =
new ConfigurationProperty(
"checkDeserializeAdvances", typeof(
bool),
false, ConfigurationPropertyOptions.None);
12 private readonly ConfigurationProperty tempFilesLocation =
new ConfigurationProperty(
"tempFilesLocation", typeof(
string),
null,
null,
new RootedPathValidator(), ConfigurationPropertyOptions.None);
14 private readonly ConfigurationProperty useLegacySerializerGeneration =
new ConfigurationProperty(
"useLegacySerializerGeneration", typeof(
bool),
false, ConfigurationPropertyOptions.None);
16 protected internal override ConfigurationPropertyCollection Properties
27 [ConfigurationProperty(
"checkDeserializeAdvances", DefaultValue =
false)]
32 return (
bool)base[checkDeserializeAdvances];
36 base[checkDeserializeAdvances] = value;
42 [ConfigurationProperty(
"tempFilesLocation", DefaultValue =
null)]
47 return (
string)base[tempFilesLocation];
51 base[tempFilesLocation] = value;
58 [ConfigurationProperty(
"useLegacySerializerGeneration", DefaultValue =
false)]
63 return (
bool)base[useLegacySerializerGeneration];
67 base[useLegacySerializerGeneration] = value;
74 properties.Add(checkDeserializeAdvances);
75 properties.Add(tempFilesLocation);
76 properties.Add(useLegacySerializerGeneration);
Validates the rules governing the use of the tempFilesLocation configuration switch.
bool UseLegacySerializerGeneration
Gets or sets a value that indicates whether the specified object uses legacy serializer generation.
XmlSerializerSection()
Initializes a new instance of the T:System.Xml.Serialization.Configuration.XmlSerializerSection class...
Handles the XML elements used to configure XML serialization.
bool CheckDeserializeAdvances
Gets or sets a value that determines whether an additional check of progress of the T:System....
string TempFilesLocation
Returns the location that was specified for the creation of the temporary file.