ResourceManager Class

Stator | API Documentation
Utilities which support DPI scaling

Initializes a new instance of a ResourceManager class that looks up resources contained in files with the specified root name in the given assembly
Inheritance Hierarchy

SystemObject
  Stator.libPublic.UtilitiesResourceManager

Namespace:  Stator.libPublic.Utilities
Assembly:  libPublic (in libPublic.dll) Version: 4.0.2018.0 (4.0.18103)
Syntax

public class ResourceManager

The ResourceManager type exposes the following members.

Constructors

  NameDescription
Public methodResourceManager
Constructor for ResourceManager
Top
Methods

  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetImage(String)
Get an image from the resource manager

Be sure to check for NULL as this function will return null if no resource is found
Public methodStatic memberGetImage(ResourceManager, String)
Get an image from the passed in resource manager

Be sure to check for NULL as this function will return null if no resource is found
Public methodGetObject(String)
Get an object resource for the scale factor (scaling)

Be sure to check for NULL as this function will return null if no resource is found
You are responsible for correctly casting this object to the correct type
Public methodGetObject(ResourceManager, String)
Get an object from the passed in resource manager

Be sure to check for NULL as this function will return null if no resource is found
You are responsible for correctly casting this object to the correct type
Public methodGetString(String)
Get a string resource

Be sure to check for NULL as this function will return null if no resource is found
Public methodGetString(ResourceManager, String)
Get a string resource from the passed in resource manager

Be sure to check for NULL as this function will return null if no resource is found
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodReleaseAllResources
Release all resources
Public methodToString (Inherited from Object.)
Top
See Also

Reference