PostSharpAPI ReferencePost­Sharp.​Patterns.​Diagnostics.​Backends.​MultiplexerMultiplexer­BackendCreate­Sync­Method­Context
Open sandboxFocus

MultiplexerBackend.CreateSyncMethodContext Method

CreateSyncMethodContext(ThreadLoggingContext)

Creates a new SyncMethodLoggingContext for a given normal (non-async, non-iterator) method.

Declaration
protected override SyncMethodLoggingContext CreateSyncMethodContext(ThreadLoggingContext threadContext)
Parameters
Type Name Description
ThreadLoggingContext threadContext

The ThreadLoggingContext in which the method is executed.

Returns
Type Description
SyncMethodLoggingContext

A new SyncMethodLoggingContext to be used only in the thread of threadContext.

Overrides
LoggingBackend.CreateSyncMethodContext(ThreadLoggingContext)