Click or drag to resize
Ranorex

CachedResourceManager Class

A wrapper around a default ResourceManager instance that caches retrieved objects.
Inheritance Hierarchy
SystemObject
  System.ResourcesResourceManager
    Ranorex.CoreCachedResourceManager

Namespace:  Ranorex.Core
Assembly:  Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntax
public class CachedResourceManager : ResourceManager

The CachedResourceManager type exposes the following members.

Constructors
  NameDescription
Public methodCachedResourceManager
Initializes a new instance of the CachedResourceManager class that caches retrieved objects.
Top
Properties
  NameDescription
Public propertyBaseName
Gets the root name of the resource files that the ResourceManager searches for resources.
(Overrides ResourceManagerBaseName.)
Protected propertyFallbackLocation
Gets or sets the location from which to retrieve default fallback resources.
(Inherited from ResourceManager.)
Public propertyIgnoreCase
Gets or sets a value indicating whether the current instance allows case-insensitive resource lookups in the GetString(String) and GetObject(String) methods.
(Overrides ResourceManagerIgnoreCase.)
Public propertyResourceSetType
Gets the Type of the ResourceSet the ResourceManager uses to construct a ResourceSet object.
(Overrides ResourceManagerResourceSetType.)
Top
Methods
  NameDescription
Public methodStatic memberEnsureActive
Ensures that the specified original resource manager used by targetType is replaced by a CachedResourceManager instance wrapping the original instance.
Public methodEquals
Determines whether the specified Object is equal to this instance.
(Overrides ObjectEquals(Object).)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Returns a hash code for this instance.
(Overrides ObjectGetHashCode.)
Public methodGetObject(String)
Returns the value of the specified Object resource.
(Overrides ResourceManagerGetObject(String).)
Public methodGetObject(String, CultureInfo)
Gets the value of the Object resource localized for the specified culture.
(Overrides ResourceManagerGetObject(String, CultureInfo).)
Protected methodGetResourceFileName
Generates the name of the resource file for the given CultureInfo object.
(Inherited from ResourceManager.)
Public methodGetResourceSet
Gets the ResourceSet for a particular culture.
(Overrides ResourceManagerGetResourceSet(CultureInfo, Boolean, Boolean).)
Public methodGetStream(String)
Returns an unmanaged memory stream object from the specified resource.
(Inherited from ResourceManager.)
Public methodGetStream(String, CultureInfo)
Returns an unmanaged memory stream object from the specified resource, using the specified culture.
(Inherited from ResourceManager.)
Public methodGetString(String)
Returns the value of the specified String resource.
(Overrides ResourceManagerGetString(String).)
Public methodGetString(String, CultureInfo)
Gets the value of the String resource localized for the specified culture.
(Overrides ResourceManagerGetString(String, CultureInfo).)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodInternalGetResourceSet
Provides the implementation for finding a resource set.
(Inherited from ResourceManager.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodReleaseAllResources
Tells the ResourceManager to call Close on all ResourceSet objects and release all resources.
(Overrides ResourceManagerReleaseAllResources.)
Public methodToString
Returns a String that represents this instance.
(Overrides ObjectToString.)
Top
Fields
  NameDescription
Protected fieldBaseNameField
Specifies the root name of the resource files that the ResourceManager searches for resources.
(Inherited from ResourceManager.)
Protected fieldMainAssembly
Specifies the main assembly that contains the resources.
(Inherited from ResourceManager.)
Protected fieldResourceSets Obsolete.
Contains a Hashtable that returns a mapping from cultures to ResourceSet objects.
(Inherited from ResourceManager.)
Top
See Also