메소드 | 설명 | |
---|---|---|
Clear ( ) : void |
Clears the content of the GDC.
|
|
Contains ( string item ) : bool |
Checks whether the specified item exists in the Global Diagnostics Context.
|
|
Get ( string item ) : string |
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. |
|
Get ( string item, IFormatProvider formatProvider ) : string |
Gets the Global Diagnostics Context item. If formatProvider is |
|
GetObject ( string item ) : object |
Gets the Global Diagnostics Context named item.
|
|
Remove ( string item ) : void |
Removes the specified item from the Global Diagnostics Context.
|
|
Set ( string item, string value ) : void |
Sets the Global Diagnostics Context item to the specified value.
|
public static Get ( string item, IFormatProvider formatProvider ) : string | ||
item | string | Item name. |
formatProvider | IFormatProvider | |
리턴 | string |
public static GetObject ( string item ) : object | ||
item | string | Item name. |
리턴 | object |
public static Set ( string item, string value ) : void | ||
item | string | Item name. |
value | string | Item value. |
리턴 | void |