Class wwDbSimpleResourceProviderFactory

Provider factory that instantiates the individual provider. The provider passes a 'classname' which is the ResourceSet id or how a resource is identified. For global resources it's the name of hte resource file, for local resources it's the full Web relative virtual path

System.Object
  System.Web.Compilation.ResourceProviderFactory
    Westwind.Globalization.wwDbSimpleResourceProviderFactory

public class wwDbSimpleResourceProviderFactory : ResourceProviderFactory

Class Members

MemberDescription
CreateGlobalResourceProvider ASP.NET sets up provides the global resource name which is the resource ResX file (without any extensions). This will become our ResourceSet id. ie. Resource.resx becomes "Resources"
public virtual IResourceProvider CreateGlobalResourceProvider( string classname );
CreateLocalResourceProvider ASP.NET passes the full page virtual path (/MyApp/subdir/test.aspx) which is the effective ResourceSet id. We'll store only an application relative path (subdir/test.aspx) by stripping off the base path.
public virtual IResourceProvider CreateLocalResourceProvider( string virtualPath );

Requirements

Namespace: Westwind.Globalization
Assembly: westwind.globalization.dll


  Last Updated: 3/10/2008 | © West Wind Technologies, 2008