This is the online documentation for PostSharp 5.0.
Download PDF or CHM. Go to v4.3 or v5.0

ConstructorDepth Structure

System type used in the implementation of the OnInstanceConstructedAdvice. Do not use in user code.

Namespace:  PostSharp.Aspects
Assembly:  PostSharp (in PostSharp.dll) Version: 5.0.33.0 (5.0.33.0)
Syntax
C#
public struct ConstructorDepth

The ConstructorDepth type exposes the following members.

Properties
  NameDescription
Public propertyIsZero
Determines whether the current depth is zero.
Public propertyStatic memberZero
Gets a ConstructorDepth instance representing zero.
Top
Methods
  NameDescription
Public methodIncrement
Creates a new instance of the ConstructorDepth type with a depth level that is one more than the current one.
Public methodToString (Overrides ValueType.ToString().)
Top
Extension Methods
  NameDescription
Public Extension MethodQueryInterface<T>
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.)
Top
See Also