A LoggingContext that represents an iterator.
Inheritance
IteratorLoggingContext
Namespace: PostSharp.Patterns.Diagnostics.Contexts
Assembly: PostSharp.Patterns.Diagnostics.dll
Syntax
public class IteratorLoggingContext : SuspendableLoggingContext, ILoggingContext, IDisposable
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. |