Click or drag to resize
LocaleManager Class
Class that handles locale related information.
Inheritance Hierarchy

Namespace: ArtDatabanken.Data
Assembly: ArtDatabanken.Data (in ArtDatabanken.Data.dll) Version: 1.3.0.0 (1.3.0.0)
Syntax
public class LocaleManager : ILocaleManager, 
	IManager

The LocaleManager type exposes the following members.

Constructors
  NameDescription
Public methodLocaleManager
Initializes a new instance of the LocaleManager class
Top
Properties
  NameDescription
Public propertyDataSource
This interface is used to retrieve information.
Top
Methods
  NameDescription
Public methodGetDataSourceInformation
Get information about data source.
Public methodGetDefaultLocale
Get default locale.
Public methodGetLocale(IUserContext, LocaleId)
Get locale with specified id.
Public methodGetLocale(IUserContext, Int32)
Get locale with specified id.
Public methodGetLocale(IUserContext, String)
Get a locale object by ISO code. This code is a combination of "ISO 639-1" (language code) and "ISO 3166-1 alpha-2" (country code). E.g. en-GB and sv-SE. Language codes are matched to first locale of the same language. For example "en" may be matched to "en-GB".
Public methodGetLocales
Get all active locales.
Public methodGetUsedLocales
Get all locales that is used in this application.
Top
Extension Methods
  NameDescription
Public Extension MethodCheckNotNull
Check that an argument is not null.
(Defined by ObjectExtension.)
Public Extension MethodCheckNull
Check that an argument is null.
(Defined by ObjectExtension.)
Public Extension MethodIsNotNull
Test if an object reference is not null.
(Defined by ObjectExtension.)
Public Extension MethodIsNull
Test if an object reference is null.
(Defined by ObjectExtension.)
Top
See Also