The Labs \ Source Viewer \ SSCLI \ System.ComponentModel \ INestedContainer

  1. //------------------------------------------------------------------------------
  2. // <copyright file="INestedContainer.cs" company="Microsoft">
  3. //
  4. // Copyright (c) 2006 Microsoft Corporation. All rights reserved.
  5. //
  6. // The use and distribution terms for this software are contained in the file
  7. // named license.txt, which can be found in the root of this distribution.
  8. // By using this software in any fashion, you are agreeing to be bound by the
  9. // terms of this license.
  10. //
  11. // You must not remove this notice, or any other, from this software.
  12. //
  13. // </copyright>
  14. //------------------------------------------------------------------------------
  15. namespace System.ComponentModel
  16. {
  17.    
  18.     /// <devdoc>
  19.     /// A "nested container" is an object that logically contains zero or more child
  20.     /// components and is controlled (owned) by some parent component.
  21.     ///
  22.     /// In this context, "containment" refers to logical containment, not visual
  23.     /// containment. Components and containers can be used in a variety of
  24.     /// scenarios, including both visual and non-visual scenarios.
  25.     /// </devdoc>
  26.     public interface INestedContainer : IContainer
  27.     {
  28.        
  29.         /// <devdoc>
  30.         /// The component that owns this nested container.
  31.         /// </devdoc>
  32.         IComponent Owner {
  33.             get;
  34.         }
  35.     }
  36. }

Developer Fusion