PostSharp 6.8 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Contexts Namespace / Iterator­Logging­Context Class / Iterator­Logging­Context Methods / Iterator­Logging­Context.​Open Method

IteratorLoggingContext.Open Method

Opens a new IteratorLoggingContext.

Namespace:  PostSharp.Patterns.Diagnostics.Contexts
Assembly:  PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 6.8.6.0 (6.8.6.0)
Syntax
C#
public virtual void Open(
	IEnumerator iterator,
	ref LogMemberInfo memberInfo
)

Parameters

iterator
Type: System.Collections.IEnumerator
Iterator object associated with the current context.
memberInfo
Type: PostSharp.Patterns.Diagnostics.Contexts.LogMemberInfo
Information about the iterator method.
See Also