A wrapper around a default ResourceManager instance that caches retrieved objects.
| C# | Visual Basic | Visual C++ |
public class CachedResourceManager : ResourceManager
Public Class CachedResourceManager _ Inherits ResourceManager
public ref class CachedResourceManager : public ResourceManager
| All Members | Constructors | Methods | Properties | Fields | |
| Icon | Member | Description |
|---|---|---|
| CachedResourceManager(ResourceManager) |
Initializes a new instance of the CachedResourceManager class
that caches retrieved objects.
| |
| BaseName |
Gets the root name of the resource files that the ResourceManager
searches for resources.
(Overrides ResourceManager.BaseName.) | |
| BaseNameField |
Indicates the root name of the resource files that the ResourceManager searches for resources.
(Inherited from ResourceManager.) | |
| EnsureActive(Type) |
Ensures that the specified original resource manager used by targetType
is replaced by a CachedResourceManager instance wrapping the original instance.
| |
| Equals(Object) |
Determines whether the specified Object is equal to this instance.
(Overrides Object.Equals(Object).) | |
| FallbackLocation |
Gets or sets the location from which to retrieve neutral fallback resources.
(Inherited from ResourceManager.) | |
| Finalize()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetHashCode()()() |
Returns a hash code for this instance.
(Overrides Object.GetHashCode()()().) | |
| GetObject(String, CultureInfo) |
Gets the value of the Object resource localized for the specified culture.
(Overrides ResourceManager.GetObject(String, CultureInfo).) | |
| GetObject(String) |
Returns the value of the specified Object resource.
(Overrides ResourceManager.GetObject(String).) | |
| GetResourceFileName(CultureInfo) |
Generates the name for the resource file for the given CultureInfo.
(Inherited from ResourceManager.) | |
| GetResourceSet(CultureInfo, Boolean, Boolean) |
Gets the ResourceSet for a particular culture.
(Overrides ResourceManager.GetResourceSet(CultureInfo, Boolean, Boolean).) | |
| 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 the value of the specified String resource.
(Overrides ResourceManager.GetString(String).) | |
| GetString(String, CultureInfo) |
Gets the value of the String resource localized for the specified culture.
(Overrides ResourceManager.GetString(String, CultureInfo).) | |
| GetType()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| IgnoreCase |
Gets or sets a value indicating whether the current instance allows case-insensitive resource
lookups in the GetString(String) and GetObject(String) methods.
(Overrides ResourceManager.IgnoreCase.) | |
| InternalGetResourceSet(CultureInfo, Boolean, Boolean) |
Provides the implementation for finding a ResourceSet.
(Inherited from ResourceManager.) | |
| MainAssembly |
Indicates the main Assembly that contains the resources.
(Inherited from ResourceManager.) | |
| MemberwiseClone()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| ReleaseAllResources()()() | (Overrides ResourceManager.ReleaseAllResources()()().) | |
| ResourceSets |
Contains a Hashtable that returns a mapping from cultures to ResourceSet objects.
(Inherited from ResourceManager.) | |
| ResourceSetType | (Overrides ResourceManager.ResourceSetType.) | |
| ToString()()() |
Returns a String that represents this instance.
(Overrides Object.ToString()()().) |
| Object | ||
| ResourceManager | ||
| CachedResourceManager | ||
