PostSharp 6.6 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics Namespace / Log­Activity(TActivity­Description) Structure / Log­Activity(TActivity­Description) Properties / Log­Activity(TActivity­Description).​Context Property

LogActivity<TActivityDescription>.Context Property

Gets the ILoggingContext corresponding to the current activity.

Namespace:  PostSharp.Patterns.Diagnostics
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.6.14.0 (6.6.14.0)
Syntax
C#
public ILoggingContext Context { get; }

Property Value

Type: ILoggingContext

Implements

ILogActivity.Context
See Also