PeanutButter
Loading...
Searching...
No Matches
PeanutButter.Utils.AutoTempEnvironmentVariable Class Reference

Provides a scoped, temporary environment variable. More...

Inheritance diagram for PeanutButter.Utils.AutoTempEnvironmentVariable:

Public Member Functions

 AutoTempEnvironmentVariable (string name, string value)
 sets up the auto-temp env var
void Dispose ()

Properties

string Name [get]
 The name of the temp env var.
string Value [get]
 The value this host will set.
string OriginalValue [get, set]
 The original value of the env var.

Detailed Description

Provides a scoped, temporary environment variable.

Constructor & Destructor Documentation

◆ AutoTempEnvironmentVariable()

PeanutButter.Utils.AutoTempEnvironmentVariable.AutoTempEnvironmentVariable ( string name,
string value )

sets up the auto-temp env var

Parameters
name
value
Exceptions
NotImplementedException

The documentation for this class was generated from the following file:
  • source/Utils/PeanutButter.Utils/AutoTempEnvironmentVariable.cs