TpsResourceManager Class |
Namespace: ABB.Robotics.Tps.Resources
public class TpsResourceManager : ResourceManager, ITpsResourceManager
The TpsResourceManager type exposes the following members.
| Name | Description | |
|---|---|---|
| TpsResourceManager | Initializes a new instance of the TpsResourceManager class. | |
| TpsResourceManager(String) |
Initializes a new instance of the TpsResourceManager class that looks up resources contained in files derived from the specified root name using the calling Assembly.
| |
| TpsResourceManager(String, Assembly) |
Initializes a new instance of the TpsResourceManager class that looks up resources contained in files derived from the specified root name using the given Assembly.
|
| Name | Description | |
|---|---|---|
| BaseName | Gets the root name of the resource files that the ResourceManager searches for resources. (Inherited from ResourceManager.) | |
| FallbackLocation | Gets or sets the location from which to retrieve neutral fallback resources. (Inherited from ResourceManager.) | |
| IgnoreCase | Gets or sets a Boolean value indicating whether the current instance of ResourceManager allows case-insensitive resource lookups in the GetString(String) and GetObject(String) methods. (Inherited from ResourceManager.) | |
| ResourceSetType | (Inherited from ResourceManager.) |
| Name | Description | |
|---|---|---|
| Equals | (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetImage |
Returns an image associated with a fileName.
| |
| GetObject(String) |
Overridden. Gets the value of the specified Object resource for the current culture.
(Overrides ResourceManagerGetObject(String).) | |
| GetObject(String, CultureInfo) | Gets the value of the Object resource localized for the specified culture. (Inherited from ResourceManager.) | |
| GetResourceFileName | Generates the name for the resource file for the given CultureInfo. (Inherited from ResourceManager.) | |
| GetResourceSet | Gets the ResourceSet for a particular culture. (Inherited from ResourceManager.) | |
| GetStream(String) | Returns an UnmanagedMemoryStream object from the specified resource. (Inherited from ResourceManager.) | |
| GetStream(String, CultureInfo) | Returns an UnmanagedMemoryStream object from the specified resource, using the specified culture. (Inherited from ResourceManager.) | |
| GetString(String) |
Returns an string associated with an id. First it looks for in the user assembly and then it looks in the global resource assembly.
(Overrides ResourceManagerGetString(String).) | |
| GetString(String, CultureInfo) | Gets the value of the String resource localized for the specified culture. (Inherited from ResourceManager.) | |
| GetType | Gets the type of the current instance. (Inherited from Object.) | |
| InternalGetResourceSet |
Overridden. Provides the implementation for finding a ResourceSet of a specific user-assembly and language.
(Overrides ResourceManagerInternalGetResourceSet(CultureInfo, Boolean, Boolean).) | |
| LoadGlobalResourcesFiles |
Loads the resources for an specific language.
| |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ReleaseAllResources |
Tells the TpsResourceManager to call Close on all ResourceSet objects and release all resources.
(Overrides ResourceManagerReleaseAllResources.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
| BaseNameField | Indicates the root name of the resource files that the ResourceManager searches for resources. (Inherited from ResourceManager.) | |
| MainAssembly | Indicates the main Assembly that contains the resources. (Inherited from ResourceManager.) | |
| ResourceSets | Contains a Hashtable that returns a mapping from cultures to ResourceSet objects. (Inherited from ResourceManager.) |
FlexPendant resource files follow same rules as Resource files in .NET Applications.
In order to build an application with localized texts, developers must create a resource file (resx), which contains the table of strings. Then a common language runtime binary .resources file must be created using the Visual Studio 2005 tool ResGen.exe.
Finally a satellite assembly must be built using the Assembly Linker.al /t:lib /embed:TestClientNamespace.strings.culture.resources /culture:en /out:AssemblyName.resources.dll
NOTE: Find out more about localization in the User's Guide.