Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [PluginFamily("Default")]
- public interface IWidget1
- [Pluggable("Default")]
- public class Widget1 : IWidget1
- [PluginFamily("Default")]
- public interface IAnotherWidget
- [Pluggable("Default")]
- public class AnotherWidget : IAnotherWidget
- {
- public AnotherWidget(IWidget widget)
- {
- ...
- }
- }
- IAnotherWidget _anotherWidget = ObjectFactory.GetInstance<IAnotherWidget>();
Add Comment
Please, Sign In to add comment