Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
NLog
GDC
Get
NLog.GDC.Get C# (CSharp) Méthode
GDC Class Documentation
Afficher le fichier
Open project: NLog/NLog
Get()
public
static
méthode
Gets the Global Diagnostics Context named item.
If the value isn't a
string
already, this call locks the
LogFactory
for reading the
LoggingConfiguration.DefaultCultureInfo
needed for converting to
string
.
public
static
Get
(
string
item
) :
string
item
string
Item name.
Résultat
string
public static string Get(string item) { return GlobalDiagnosticsContext.Get(item); }
Same methods
GDC::
Get
(
string
item
,
IFormatProvider
formatProvider
) :
string
GDC
Clear
Contains
Get
GetObject
Remove
Set