Skip to content

Decorators: Usage

haven1433 edited this page Nov 22, 2018 · 1 revision

Public interfaces

Any non-nested public interface can be used to create a Decorator. The Decorator will have the same name (and namespace) as the interface, but with any leading 'I' removed and the suffix 'Decorator' added. For example, System.Windows.Input.ICommand can be used to generate System.Windows.Input.CommandDecorator using the following command:

AutoImplement "System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" ICommand
Clone this wiki locally