IActivationDepthProvider.

ActivationDepthFor(ClassMetadata, ActivationMode) Method

Summary

Returns an ActivationDepth suitable for the specified class and activation mode.

Syntax

IActivationDepth ActivationDepthFor(ClassMetadata classMetadata, ActivationMode mode)

Remarks

Returns an ActivationDepth suitable for the specified class and activation mode.

Parameters

Name Type Description
classMetadata ClassMetadata root class that's being activated
mode ActivationMode activation mode

Return Value

Type Description
IActivationDepth an appropriate ActivationDepth for the class and activation mode