Namespace Westwind.Globalization

This topic tree describes the Westwind.Globalization namespace.

TypeDescription
  BasicResourceItem
  DbRes Static Helper class that handles access to the DbResourceManager more easily with single method access. The T() method provides an easy way to embed resources into applications using the resource key. Calls through to DbResInstance Also allows for resource reading, writing (new and updates transparently), deleting and clearing of resources from memory. This class uses the DbResourceManager class to access resources and still uses the
  DbResInstance Helper class that handles access to the DbResourceManager more easily with single method access. The T() method provides an easy way to embed resources into applications using the resource key. Also allows for resource reading, writing (new and updates transparently), deleting and clearing of resources from memory. This class uses the DbResourceManager class to access resources and still uses the standard ResourceManager infrastructure of
  DbResourceConfiguration The configuration class that is used to configure the Resource Provider. This class contains various configuration settings that the provider requires to operate both at design time and runtime. The application uses the static Current property to access the actual configuration settings object. By default it reads the configuration settings from web.config (at runtime). You can override this behavior by creating your own configuration object
  DbResourceDataManager
  DbResourceManager This class provides a databased implementation of a ResourceManager. A ResourceManager holds each of the InternalResourceSets for a given group of resources. In ResX files a group is a file group wiht the same name (ie. Resources.resx, Resources.en.resx, Resources.de.resx). In this database driven provider the group is determined by the ResourceSet and the LocaleId as stored in the database. This class is instantiated and gets passed both of
  DbResourceMySqlDataManager MySql implementation of the Db SQL data resource provider.
  DbResourceReader DbResourceReader is an IResourceReader for reading resources from a database. The ResourceReader is the actual Resource component that accesses the underlying datasource to retrieve the resource data. This databased manager uses the DbResourceDataManager to query the database and retrieve a list of resources for a given baseName (ResourceSet) and Culture and returns that result as an IEnumerable list (via a HashTable). This process - other
  DbResourceSet DbResourceSet is the ResourceSet implementation for the database driven Resource manager. A ResourceSet is a IEnumerable list of all resources in set for a given specific culture. Each culture has a separate resource set. The ResourceManager caches the InternalResourceSets and figures out how to return the resources from this ResourceSet using the IEnumerable interface. The ResourceSet doesn't do any work - it serves merely as a coordinator
  DbResourceSqLiteDataManager Sql CE implementation of the Db SQL data provider
  DbResourceSqlServerCeDataManager Sql CE implementation of the Db SQL data provider
  DbResourceSqlServerDataManager This class provides the Data Access to the database for the DbResourceManager, Provider and design time services. This class acts as a Business layer and uses the SqlDataAccess DAL for its data access. Dependencies: DbResourceConfiguration (holds and reads all config data from .Current) SqlDataAccess (provides a data access (DAL))
  DbResourceWriter DbResourceWriter is an IResourceWriter for writing resources to a database
  DbResXConverter This class can be used to export resources from the database to ASP.NET compatible resources (Resx). This class takes all the resources in the database and creates RESX files that match these resources. Please note that it will overrwrite any existing resource files if they already exist, so please use this class with care if you have existing ResX resources. Note this class is primarily ASP.NET specific in that it looks at ASP.NET
  FileInfoFormat Internal structure that contains format information about a file resource. Used internally to figure out how to write a resource into the database
  GeneratedResourceHelper that returns resources
  JavaScriptResources that handles generating strongly typed resources for global Web resource files. This feature is not supported in ASP.NET stock projects and doesn't support custom resource providers in WAP.
  MarkdownResourceSetValueConverter
  ResourceIdItem Short form ResourceItem for passing Ids
  ResourceIdListItem
  ResourceItem Returns a resource item that contains both Value and Comment
  ResxItem
  StronglyTypedResources that handles generating strongly typed resources for global Web resource files. This feature is not supported in ASP.NET stock projects and doesn't support custom resource providers in WAP.
  TranslationServices Provides basic translation features via several Web interfaces NOTE: These services may change their format or otherwise fail.
  DbResourceControl The DbResourceControl class provides Page level Resource Administration support to localizable ASP.NET pages. This control allows bringing up the localization Administration Form that shows all localizable resources for editing and translation. The control also provides the ability to show icons next to each control to jump directly to the appropriate control in the Admin form. The control can automatically detect Page, Control, Master Page
  DbResourceProvider The DbResourceProvider class is an ASP.NET Resource Provider implementation that retrieves its resources from a database. It works in conjunction with a DbResourceManager object and so uses standard .NET Resource mechanisms to retrieve its data. The provider should be fairly efficient and other than initial load time standard .NET resource caching is used to hold resource sets in memory. The Resource Provider class provides the base interface
  DbResourceProviderFactory Provider Factory class that needs to be set in web.config in order for ASP.NET to instantiate this class for all resource related tasks.
  DbSimpleResourceProvider Implementation of a very simple database Resource Provider. This implementation is self contained and doesn't use a custom ResourceManager. Instead it talks directly to the data resoure business layer (DbResourceDataManager). Dependencies: DbResourceDataManager DbResourceConfiguration You can replace those depencies (marked below in code) with your own data access management. The two dependcies manage all data access as well as
  DbSimpleResourceProviderFactory 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
  DbSimpleResourceReader Required simple IResourceReader implementation. A ResourceReader is little more than an interface that allows parsing through the Resources in a Resource Set which is passed in the constructor.
  JavaScriptResourceHandler Http Handler that returns ASP.NET Local and Global Resources as JavaScript objects. Supports both plain Resx Resources as well as DbResourceProvider driven resources. Objects are generated in the form of:
  LocalizableProperty simple object that holds the value structure of each saved resource item on a form
  CodeGenerationLanguage
  ConfigurationModes
  DbResourceDataManagerTypes The data managers supported by this library
  DbResourceProviderTypes Sets the DbResourceProviderType based on a simple enum value. Provided merely as a proxy for setting the actual type. Use **Custom** if you want to use a custom provider that you created and that's not listed here.
  FileFormatTypes
  GlobalizationResxExportProjectTypes Project types for Resx Exports. Either WebForms using local and global resources files, or project
  ResourceAccessMode
  ResourceListingTypes Determines how hte GetAllResourceSets method returns its data
  ValueTypes
  wwResourceExportLanguages
  ResourceProviderTypes Determines the resource provider type used to retrieve resources. Note only applies to the stock ResX provider or the DbResourceProviders of this assembly. Other custom resource providers are not supported.
  ShowLocalizationStates
  IDbResourceDataManager
  IDbResourceSetDataManager This interface is all that's required to use the Db resource provider or resource manager operation. It's a subset of the IDbResourceDataManager minimized just for ResourceSet operation. All DataManagers implement this interface.
  IResourceSetValueConverter
  IWestWindResourceProvider Resource Provider marker interface. Also provides for clearing resources.


© West Wind Technologies, 2006 - 2019 • Updated: 01/24/18
Comment or report problem with topic