Post­Sharp Documentation / 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: 5.0.38.0 (5.0.38.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().)
Extension Methods
  NameDescription
Public Extension MethodQueryInterface<T>
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.)
See Also