Design Pattern Examples
Overview of object-oriented design patterns
IRenderElement Interface Reference

Represents an element that can be rendered in text. All decorators and the core element class implement this interface. More...

Inheritance diagram for IRenderElement:
Inheritance graph
Collaboration diagram for IRenderElement:
Collaboration graph

Public Member Functions

string Render ()
 Render this element as a string.
 

Detailed Description

Represents an element that can be rendered in text. All decorators and the core element class implement this interface.

Definition at line 22 of file Decorator_Classes.cs.

Member Function Documentation

◆ Render()

string Render ( )

Render this element as a string.

Returns
A string containing the rendering of the element.

Implemented in Decorator, WhiteBackgroundDecorator, UnderlineDecorator, RedForegroundDecorator, and TextElement.

Referenced by Decorator.Render(), and Decorator_Exercise.Run().


The documentation for this interface was generated from the following file: