PostSharpAPI ReferencePost­Sharp.​AspectsConstructor­Depth
Open sandboxFocus

ConstructorDepth Class

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

Inheritance
ConstructorDepth
Namespace: PostSharp.Aspects
Assembly: PostSharp.dll
Syntax
[Internal]
public sealed class ConstructorDepth : ValueType

Properties

Name Description
IsZero

Determines whether the current depth is zero.

Zero

Gets a ConstructorDepth instance representing zero.

Methods

Name Description
Increment()

Creates a new instance of the ConstructorDepth type with a depth level that is one more than the current one.

ToString()