SaaS CMS has officially launched! Learn more now.

Interface IDecorator

The IDecorator is an interface to be used with the decorator pattern to set the component for the decorator.

Namespace: EPiServer.BaseLibrary
Assembly: EPiServer.BaseLibrary.dll
Version: 7.19.2
Syntax
public interface IDecorator

Methods

SetComponent(Object)

Sets the component (base instance) for the decorator.

Declaration
void SetComponent(object component)
Parameters
Type Name Description
System.Object component

The component - the base instance to call if the functionality should be executed.