Method | Description | |
---|---|---|
Clear ( ) : void |
Clears the global context variables
|
|
Contains ( string key ) : bool |
Checks if a variable is set within the global context
|
|
Get ( string key ) : object |
Gets the value of a variable within the global context
|
|
MultiLoggerGlobalVariablesContext ( IEnumerable |
Initializes a new instance of the MultiLoggerGlobalVariablesContext class.
|
|
Remove ( string key ) : void |
Removes a variable from the global context by key
|
|
Set ( string key, object value ) : void |
Sets the value of a new or existing variable within the global context
|
public Contains ( string key ) : bool | ||
key | string | The key of the variable to check for |
return | bool |
public Get ( string key ) : object | ||
key | string | The key of the variable to get |
return | object |
public MultiLoggerGlobalVariablesContext ( IEnumerable |
||
loggers | IEnumerable |
The loggers. |
return | System.Collections |
public Remove ( string key ) : void | ||
key | string | The key of the variable to remove |
return | void |
public Set ( string key, object value ) : void | ||
key | string | The key of the variable that is to be added |
value | object | The value to add |
return | void |