Click or drag to resize

BenchEnvironment Class

This class represents all environment variables manipulated by the Bench system.
Inheritance Hierarchy
SystemObject
  Mastersign.BenchBenchEnvironment

Namespace:  Mastersign.Bench
Assembly:  BenchLib (in BenchLib.dll) Version: 0.22.0.0 (0.22.0.0)
Syntax
public class BenchEnvironment

The BenchEnvironment type exposes the following members.

Constructors
  NameDescription
Public methodBenchEnvironment
Initializes a new instance of BenchEnvironment.
Top
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodLoad
Loads the environment variables in the current process.
Public methodLoad(IDictionaryString, String)
Stores the environment variables in the given generic dictionary.
Public methodLoad(StringDictionary)
Stores the environment variables in the given string dictionary.
Public methodLoad(DictionaryEntryHandler)
Calls the given handler for every environment variable in the configuration.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodRegisterInUserProfile
Registers the Bench environment in the Windows user profile.
Public methodToString (Inherited from Object.)
Public methodUnregisterFromUserProfile
Unregisters the Bench environment from the Windows user profile.
Public methodWriteCmdEnvironmentScript
Writes the CMD environment script of the Bench system.
Top
Remarks
This class provides methods to load the environment variables in the current process, or to write a batch file, containing the variables for loading from another batch script. At last it provides methods to write environment variables to the Windows user profile. In that way, the Bench apps are available on the PATH of the Windows command line.
See Also