Class DefaultLanguageResourceProvider
Provides access to the default data for language resources.
Inheritance
System.Object
DefaultLanguageResourceProvider
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: Sdl.LanguagePlatform.TranslationMemoryApi
Assembly: Sdl.LanguagePlatform.TranslationMemoryApi.dll
Syntax
public class DefaultLanguageResourceProvider
Constructors
DefaultLanguageResourceProvider()
Initializes a new instance of the DefaultLanguageResourceProvider class.
Declaration
public DefaultLanguageResourceProvider()
Methods
GetDefaultLanguageResources(CultureInfo)
Gets default language resources for the specified language.
Declaration
public LanguageResourceBundle GetDefaultLanguageResources(CultureInfo language)
Parameters
Type | Name | Description |
---|---|---|
System.Globalization.CultureInfo | language | The language for which to get the default language resources. |
Returns
Type | Description |
---|---|
LanguageResourceBundle | A LanguageResourceBundle instance, populated with the default language resources. Note that some default language resources might be null. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | Thrown when |