Click or drag to resize
AbstractDecoratorInterfaceTypeGetFirstFoundTargetInterfaceType Method (AbstractDecoratorInterfaceType)
Gets the first found object of the given type in the chain

Namespace: CMS.Core
Assembly: CMS.Core (in CMS.Core.dll) Version: 9.0.0
Syntax
C#
protected static TargetInterfaceType GetFirstFound<TargetInterfaceType>(
	AbstractDecorator<InterfaceType> start
)
where TargetInterfaceType : class, InterfaceType

Parameters

start
Type: CMS.CoreAbstractDecoratorInterfaceType
Start of the chain

Type Parameters

TargetInterfaceType

Return Value

Type: TargetInterfaceType
See Also