C# Class Goedel.Mesh.Platform.Register

Interface class to manage entries in the Windows Registry and file system. On non-windows machines, this can simply map to flat files.
Datei anzeigen Open project: hallambaker/Mathematical-Mesh Class Usage Examples

Public Methods

Method Description
GetKeys ( string KeyName ) : string>.Dictionary

Get windows registry keys matching a key name.

GetSubKeys ( string KeyName ) : List

Get registry sub keys

Read ( string KeyName, string &UDF ) : string

Read registry entries for the specified parameters.

Read ( string KeyName, string Entry, string &UDF ) : string

Read registry entries for the specified parameters.

ReadFile ( string KeyName, string Path ) : string

Get the file name to read a file from the specified keyname and path.

ReadFile ( string KeyName, string Path, string UDF ) : string

Get the file name to read a file from the specified keyname and path.

Write ( string KeyName, string Entry, string UDF ) : void

Create registry entries for the specified parameters.

WriteKey ( string KeyName, string Tag, string UDF ) : void

Create registry entries for the specified parameters and return the file name to write the data file to.

Method Details

GetKeys() public static method

Get windows registry keys matching a key name.
public static GetKeys ( string KeyName ) : string>.Dictionary
KeyName string The key to fetch.
return string>.Dictionary

GetSubKeys() public static method

Get registry sub keys
public static GetSubKeys ( string KeyName ) : List
KeyName string The registry key to retrieve.
return List

Read() public static method

Read registry entries for the specified parameters.
public static Read ( string KeyName, string &UDF ) : string
KeyName string The Registry key to write to.
UDF string The fingerprint of the data object.
return string

Read() public static method

Read registry entries for the specified parameters.
public static Read ( string KeyName, string Entry, string &UDF ) : string
KeyName string The Registry key to write to.
Entry string The name of the key to write to.
UDF string The fingerprint of the data object.
return string

ReadFile() public static method

Get the file name to read a file from the specified keyname and path.
public static ReadFile ( string KeyName, string Path ) : string
KeyName string The Registry key to write to.
Path string The Registry Path to write to
return string

ReadFile() public static method

Get the file name to read a file from the specified keyname and path.
public static ReadFile ( string KeyName, string Path, string UDF ) : string
KeyName string The Registry key to write to.
Path string The Registry Path to write to
UDF string Fingerprint of the object to read.
return string

Write() public static method

Create registry entries for the specified parameters.
public static Write ( string KeyName, string Entry, string UDF ) : void
KeyName string The Registry key to write to.
Entry string The name of the key to write to.
UDF string The fingerprint of the data object.
return void

WriteKey() public static method

Create registry entries for the specified parameters and return the file name to write the data file to.
public static WriteKey ( string KeyName, string Tag, string UDF ) : void
KeyName string The Registry key to write to.
Tag string The name of the key to write to.
UDF string The fingerprint of the data object.
return void