Jump to content

Decorator pattern: Difference between revisions

From LabVIEW Wiki
Add new page
 
Category reorg
 
Line 1: Line 1:
{{stub}}
'''Decorator pattern''' is a behavioral [[design pattern]] in [[object-oriented programming]] that uses an intermediate object (decorator) to statically or dynamically add new behavior to an existing object without affecting the behavior of other objects from the same class.
'''Decorator pattern''' is a behavioral [[design pattern]] in [[object-oriented programming]] that uses an intermediate object (decorator) to statically or dynamically add new behavior to an existing object without affecting the behavior of other objects from the same class.


Line 4: Line 5:
* [https://forums.ni.com/t5/LabVIEW-Development-Best/Decorator-Wrapper-Pattern/ta-p/3528153 LabVIEW Development Best Practices Documents - Decorator (Wrapper) Pattern]
* [https://forums.ni.com/t5/LabVIEW-Development-Best/Decorator-Wrapper-Pattern/ta-p/3528153 LabVIEW Development Best Practices Documents - Decorator (Wrapper) Pattern]
* [[Wikipedia:Decorator pattern|Decorator pattern]] (Wikipedia)
* [[Wikipedia:Decorator pattern|Decorator pattern]] (Wikipedia)
{{stub}}


[[Category:Object-Oriented Design Pattern]]
[[Category:Object-Oriented Design Pattern]]
[[Category:Object-Oriented Programming]]
[[Category:Object-Oriented Programming]]
[[Category:Design patterns]]

Latest revision as of 21:01, 2 June 2020

Decorator pattern is a behavioral design pattern in object-oriented programming that uses an intermediate object (decorator) to statically or dynamically add new behavior to an existing object without affecting the behavior of other objects from the same class.

External links