Container interface - detailed explanation

I was just giving a lecture that went through the container interface. I didn't fully understand the stuff and couldn't find too much via google. I was wondering if any of you can explain this in real life. Also explains alternatives and when is the best time to use them? If so.

Thanks for any help

0


source to share


1 answer


I am assuming you are talking about IContainer in System.ComponentModel. Basically, it is an interface that defines what behavior is expected from a component's container. This allows you to create various containers that the ComponentCollection component can work with.



Note that the IContainer does not have to contain visual components - this is perfectly true for components that only need to be data.

+1


source







All Articles