Class CultureSupport
Plug in that handles setting of .NET culture information to correspond with language settings in EPiServer.
Inheritance
System.Object
CultureSupport
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Web.PageExtensions
Assembly: EPiServer.dll
Version: 9.12.2Syntax
[Obsolete("This is now always done for both WebForms and MVC. If you want to do custom culture settings, override System.Web.UI.Page.InitializeCulture()", false)]
[PagePlugIn("Culture support", "Synchronize ASP.NET culture information with EPiServer language settings.")]
public class CultureSupport
Constructors
CultureSupport()
Declaration
public CultureSupport()
Properties
OptionFlag
Flag value to determine if this plug in should be enabled.
Declaration
public static int OptionFlag { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
Initialize(Int32)
Method called at system startup to initialize this plug in.
Declaration
public static void Initialize(int optionFlag)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | optionFlag | The option flag value assigned to this plug in. |
Remarks
Using the plugin attribute [PagePlugIn] requires the class to contain a static void method named "Initialize" which will be called to attach to suitable event handlers.