Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

interface Microsoft.​Extensions.​Logging.​IExternalScopeProvider

Assembly: Microsoft.Extensions.Logging.Abstractions

Represents a storage of common scope data.

Methods

void
ForEachScope​(System.​Action<​object, TState> callback, TState state)
Executes callback for each currently active scope objects in order of creation. All callbacks are guaranteed to be called inline from this method.
callback The callback to be executed for every scope object.
state The state object to be passed into the callback.
Push​(object state)
Adds scope object to the list.
Returns The <see cref="T:System.IDisposable" /> token that removes scope on dispose.
state The scope object.