Decorator

Attach additional responsibilities to an object dynamically keeping the same interface. Decorators provide a flexible alternative to subclassing for extending functionality.

Examples in PowerShell
No examples yet.
You can see if there are examples in other languages or
be the first to post an example in PowerShell!