How have you used IContainer/ISite/IComponent in your own code? [duplicate]
Asked Answered
V

1

14

Possible Duplicate:
When and why should I implement IComponent, IContainer, and ISite?

There are various online docs about using IContainer and ISite (eg http://www.theserverside.net/tt/blogs/showblog.tss?id=pluginArchitectures), and there are vague examples around, but I haven't come across a real instance (other than winforms) where it is actually useful. It doesn't help that I don't really know what exactly it can be used for. Has anyone use the .NET container interfaces & corresponding classes in their own code, independantly of winforms, and how have you used them?

Veolaver answered 19/5, 2009 at 13:38 Comment(0)
L
4

These are the component oriented elements of a component oriented approach to software. The visual designer, for example, uses them.

If you wish to build reusable software components (IComponent), and have the ability to adapt (ISite) the component in various domains as a canonical assembly (IContainer), specially in context of a design-time/run-time framework (visualstudio) then there you are ...

Levkas answered 20/5, 2009 at 16:48 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.