Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

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.