Detailed Description

A global class which handles resources embedded in this program. Used for e.g. the default configuration file.

Static Public Member Functions

static byte[] Get (string resource)
 Gets the named resource from the resource manager. More...
 
static string GetText (string resource)
 Gets the named resource from the resource manager as UTF8 text. More...
 

Static Public Attributes

static ResourceManager ResourceSet =new ResourceManager("app",Assembly.GetExecutingAssembly())
 The resource manager which holds the default config file. More...
 

Member Function Documentation

static byte [] Resources.Get ( string  resource)
inlinestatic

Gets the named resource from the resource manager.

Parameters
resourceThe name of the resource to get.
Returns
The resource as a byte array. Null if it wasn't found.
static string Resources.GetText ( string  resource)
inlinestatic

Gets the named resource from the resource manager as UTF8 text.

Parameters
resourceThe name of the resource to get.

Member Data Documentation

ResourceManager Resources.ResourceSet =new ResourceManager("app",Assembly.GetExecutingAssembly())
static

The resource manager which holds the default config file.