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