PostSharp6.1/API Reference/Post­Sharp.​Aspects Namespace/Constructor­Depth Structure

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: 6.1.23.0 (6.1.23.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.
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
Returns the fully qualified type name of this instance.
(Overrides ValueType.ToString().)
See Also