Interface IExternalScopeProvider
Namespace: Microsoft.Extensions.Logging
Assembly: Microsoft.Extensions.Logging.Abstractions.dll
Syntax
public interface IExternalScopeProvider
Methods
ForEachScope<TState>(Action<object?, TState>, TState)
Declaration
void ForEachScope<TState>(Action<object?, TState> callback, TState state)
Parameters
| Type | Name | Description |
|---|---|---|
| Action<object, TState> | callback | |
| TState | state |
Type Parameters
| Name | Description |
|---|---|
| TState |
Push(object?)
Declaration
IDisposable Push(object? state)
Parameters
| Type | Name | Description |
|---|---|---|
| object | state |
Returns
| Type | Description |
|---|---|
| IDisposable |