Méthode | 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 |
Résultat | bool |
public Get ( string key ) : object | ||
key | string | The key of the variable to get |
Résultat | object |
public MultiLoggerGlobalVariablesContext ( IEnumerable |
||
loggers | IEnumerable |
The loggers. |
Résultat | System.Collections |
public Remove ( string key ) : void | ||
key | string | The key of the variable to remove |
Résultat | 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 |
Résultat | void |