12 [ConfigurationProperty(
"prohibitDefaultResolver", DefaultValue =
"false")]
17 return (
string)base[
"prohibitDefaultResolver"];
21 base[
"prohibitDefaultResolver"] = value;
25 private bool _ProhibitDefaultResolver
30 XmlConvert.TryToBoolean(prohibitDefaultResolverString, out
bool result);
35 internal static bool ProhibitDefaultUrlResolver => (ConfigurationManager.GetSection(XmlConfigurationString.XmlReaderSectionPath) as XmlReaderSection)?._ProhibitDefaultResolver ??
false;
39 [ConfigurationProperty(
"CollapseWhiteSpaceIntoEmptyString", DefaultValue =
"false")]
44 return (
string)base[
"CollapseWhiteSpaceIntoEmptyString"];
48 base[
"CollapseWhiteSpaceIntoEmptyString"] = value;
52 private bool _CollapseWhiteSpaceIntoEmptyString
57 XmlConvert.TryToBoolean(collapseWhiteSpaceIntoEmptyStringString, out
bool result);
62 internal static bool CollapseWhiteSpaceIntoEmptyString => (ConfigurationManager.GetSection(XmlConfigurationString.XmlReaderSectionPath) as XmlReaderSection)?._CollapseWhiteSpaceIntoEmptyString ??
false;
64 internal static XmlResolver CreateDefaultResolver()
66 if (ProhibitDefaultUrlResolver)
70 return new XmlUrlResolver();
string ProhibitDefaultResolverString
Gets or sets the string that represents the prohibit default resolver.
EditorBrowsableState
Specifies the browsable state of a property or method from within an editor.
string CollapseWhiteSpaceIntoEmptyStringString
Gets or sets the string that represents a boolean value indicating whether white spaces are collapsed...
Represents an XML reader section.
Encodes and decodes XML names, and provides methods for converting between common language runtime ty...