File: FrameworkFork\Microsoft.Xml\Xml\Core\XmlConfiguration.cs
Web Access
Project: src\src\dotnet-svcutil\lib\src\dotnet-svcutil-lib.csproj (dotnet-svcutil-lib)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
 
using System;
// using System.Configuration;
using System.Globalization;
using Microsoft.Xml;
 
namespace Microsoft.Xml.XmlConfiguration
{
    internal static class XmlConfigurationString
    {
        internal const string XmlReaderSectionName = "xmlReader";
        internal const string XsltSectionName = "xslt";
 
        internal const string ProhibitDefaultResolverName = "prohibitDefaultResolver";
        internal const string LimitXPathComplexityName = "limitXPathComplexity";
        internal const string EnableMemberAccessForXslCompiledTransformName = "enableMemberAccessForXslCompiledTransform";
 
        internal const string XmlConfigurationSectionName = "system.xml";
 
        internal static string XmlReaderSectionPath = string.Format(CultureInfo.InvariantCulture, @"{0}/{1}", XmlConfigurationSectionName, XmlReaderSectionName);
        internal static string XsltSectionPath = string.Format(CultureInfo.InvariantCulture, @"{0}/{1}", XmlConfigurationSectionName, XsltSectionName);
    }
 
    public sealed class XmlReaderSection
    {
        internal static XmlResolver CreateDefaultResolver()
        {
            return new XmlUrlResolver();
        }
    }
}