ScopeContext Class |
Namespace: NLog
The ScopeContext type exposes the following members.
| Name | Description | |
|---|---|---|
| Clear |
Clears all the entire logical context scope, and removes any properties and nested-states
| |
| GetAllNestedStates |
Retrieves all nested states inside the logical context scope stack
| |
| GetAllProperties |
Retrieves all properties stored within the logical context scopes
| |
| PeekNestedState |
Peeks the top value from the logical context scope stack
| |
| PushNestedState(Object) |
Pushes new state on the logical context scope stack
| |
| PushNestedStateT(T) |
Pushes new state on the logical context scope stack
| |
| PushNestedStateProperties |
Pushes new state on the logical context scope stack together with provided properties
| |
| PushProperties(IReadOnlyCollectionKeyValuePairString, Object) |
Updates the logical scope context with provided properties
| |
| PushPropertiesTValue(IReadOnlyCollectionKeyValuePairString, TValue) |
Updates the logical scope context with provided properties
| |
| PushProperty(String, Object) |
Updates the logical scope context with provided property
| |
| PushPropertyTValue(String, TValue) |
Updates the logical scope context with provided property
| |
| TryGetProperty |
Lookup single property stored within the logical context scopes
|