PostSharpAPI ReferencePost­Sharp.​Patterns.​Diagnostics.​ContextsIterator­Logging­Context
Open sandboxFocus

IteratorLoggingContext Class

A LoggingContext that represents an iterator.

Inheritance
System.Object
IteratorLoggingContext
Namespace: PostSharp.Patterns.Diagnostics.Contexts
Assembly: PostSharp.Patterns.Diagnostics.dll
Syntax
public class IteratorLoggingContext : SuspendableLoggingContext, ILoggingContext

Constructors

Name Description
IteratorLoggingContext(LoggingBackend)

Initializes a new IteratorLoggingContext.

Properties

Name Description
IsAsync

Determines whether the current LoggingContext represents an async method or an asynchronous custom activity.

Iterator

Gets the iterator object.

Methods

Name Description
Open(IEnumerator, ref LogMemberInfo)

Opens a new IteratorLoggingContext.