mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-17 01:41:17 -10:00
* GlobalizationConfiguration.cs: added internal fields to hold the values in the globalization node. * GlobalizationConfigurationHandler.cs: handler to load <system.web/globalization> section. svn path=/trunk/mcs/; revision=11543
39 lines
905 B
C#
39 lines
905 B
C#
//
|
|
// System.Web.Configuration.GlobalizationConfiguration
|
|
//
|
|
// Authors:
|
|
// Patrik Torstensson ([email protected])
|
|
// Gonzalo Paniagua Javier ([email protected])
|
|
//
|
|
// (c) 2003 Ximian, Inc. (http://www.ximian.com)
|
|
//
|
|
|
|
using System.Globalization;
|
|
using System.Text;
|
|
|
|
namespace System.Web.Configuration
|
|
{
|
|
class GlobalizationConfiguration
|
|
{
|
|
internal Encoding RequestEncoding;
|
|
internal Encoding ResponseEncoding;
|
|
internal Encoding FileEncoding;
|
|
internal CultureInfo Culture;
|
|
internal CultureInfo UICulture;
|
|
|
|
internal GlobalizationConfiguration (object p)
|
|
{
|
|
if (!(p is GlobalizationConfiguration))
|
|
return;
|
|
|
|
GlobalizationConfiguration parent = (GlobalizationConfiguration) p;
|
|
RequestEncoding = parent.RequestEncoding;
|
|
ResponseEncoding = parent.ResponseEncoding;
|
|
FileEncoding = parent.FileEncoding;
|
|
Culture = parent.Culture;
|
|
UICulture = parent.UICulture;
|
|
}
|
|
}
|
|
}
|
|
|