Search Engine
Tuesday, June 29, 2010
Extension Factories
If you define your class directly in the extension point you are limited to classes with have a default constructor. To avoid this restriction you can use extension factories to create the object which is then returned. To use a factory implement the interface "IExecutableExtensionsFactory" in the class attribute of your extension point definition. The factory receives the configuration elements and can construct the required object.
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment