PostSharpAPI ReferencePost­Sharp.​Extensibility.​Build­Time­LoggingBuild­Time­Log­Activity
Open sandboxFocus

BuildTimeLogActivity Class

Value returned by the Activity(String) method that should be disposed to mark the end of the activity and decrease the indentation level.

Inheritance
BuildTimeLogActivity
Implements
IDisposable
Namespace: PostSharp.Extensibility.BuildTimeLogging
Assembly: PostSharp.dll
Syntax
public sealed class BuildTimeLogActivity : ValueType
Remarks

Only the value returned by Activity(String) method results in the indentation level to be decreased upon when the Dispose() method is invoked. Calling the Dispose() method on the default instance has no effect.

Methods

Name Description
Dispose()

When the current BuildTimeLogActivity has been returned by the Activity(String) method, decreases the indentation level.