Xamarin Public Jenkins (auto-signing) e79aa3c0ed Imported Upstream version 4.6.0.125
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
2016-08-03 10:59:49 +00:00

27 lines
911 B
C#

//------------------------------------------------------------------------------
// <copyright file="ClientRuntimeConfig.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//------------------------------------------------------------------------------
using System.Configuration;
using System.Security;
using System.Security.Permissions;
namespace System.Web.Configuration {
//
// If we are not using the HttpConfigurationSystem, delegate to the
// client configuration system.
//
internal class ClientRuntimeConfig : RuntimeConfig {
internal ClientRuntimeConfig() : base(null, false) {}
[ConfigurationPermission(SecurityAction.Assert, Unrestricted=true)]
protected override object GetSectionObject(string sectionName) {
return ConfigurationManager.GetSection(sectionName);
}
}
}