Class GlobalXmlResourceProvider

Implements a resource provider for the XML translation system used in EPiServer CMS

Inheritance
System.Object
GlobalXmlResourceProvider
Implements
System.Web.Compilation.IResourceProvider
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.Resources
Assembly: EPiServer.dll
Version: 8.11.0
Syntax
[Obsolete("Use EPiServer.Framework.Localization.LocalizationServiceResourceProvider instead", false)]
public class GlobalXmlResourceProvider : IResourceProvider

Constructors

GlobalXmlResourceProvider(String)

Initializes a new instance of the GlobalXmlResourceProvider class.

Declaration
public GlobalXmlResourceProvider(string classKey)
Parameters
Type Name Description
System.String classKey

The class key

Properties

ResourceReader

Gets an object to read resource values from a source. Not supported.

Declaration
public IResourceReader ResourceReader { get; }
Property Value
Type Description
System.Resources.IResourceReader

Methods

GetObject(String, CultureInfo)

Returns a resource object for the key and culture.

Declaration
public object GetObject(string resourceKey, CultureInfo culture)
Parameters
Type Name Description
System.String resourceKey

The key identifying a particular resource.

System.Globalization.CultureInfo culture

The culture identifying a localized value for the resource.

Returns
Type Description
System.Object

An Object that contains the resource value for the resourceKey and culture.

Implements

System.Web.Compilation.IResourceProvider

Extension Methods