File: System\Configuration\SchemeSettingInternal.cs
Web Access
Project: src\runtime\src\libraries\System.Configuration.ConfigurationManager\src\System.Configuration.ConfigurationManager.csproj (System.Configuration.ConfigurationManager)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.

using System.Diagnostics;

namespace System.Configuration
{
    internal sealed class SchemeSettingInternal
    {
        private readonly string name;
        private readonly GenericUriParserOptions options;

        public SchemeSettingInternal(string name, GenericUriParserOptions options)
        {
            Debug.Assert(name != null, "'name' must not be null.");

            this.name = name.ToLowerInvariant();
            this.options = options;
        }

        public string Name
        {
            get { return name; }
        }

        public GenericUriParserOptions Options
        {
            get { return options; }
        }
    }
}