The Labs \ Source Viewer \ SSCLI \ System.ComponentModel.Design \ IInheritanceService

  1. //------------------------------------------------------------------------------
  2. // <copyright file="IInheritanceService.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. /*
  16. */
  17. namespace System.ComponentModel.Design
  18. {
  19.     using System.ComponentModel;
  20.    
  21.     using System.Diagnostics;
  22.    
  23.     using System;
  24.    
  25.     /// <devdoc>
  26.     /// <para>Provides a set of utilities
  27.     /// for analyzing and identifying inherited components.</para>
  28.     /// </devdoc>
  29.     public interface IInheritanceService
  30.     {
  31.        
  32.         /// <devdoc>
  33.         /// <para>
  34.         /// Adds inherited components from the specified component to the specified container.
  35.         /// </para>
  36.         /// </devdoc>
  37.         void AddInheritedComponents(IComponent component, IContainer container);
  38.        
  39.         /// <devdoc>
  40.         /// <para>
  41.         /// Gets the inheritance attribute of the specified
  42.         /// component. If the component is not being inherited, this method will return the
  43.         /// value <see cref='System.ComponentModel.InheritanceAttribute.NotInherited'/>.
  44.         /// Otherwise it will return the inheritance attribute for this component.
  45.         /// </para>
  46.         /// </devdoc>
  47.         InheritanceAttribute GetInheritanceAttribute(IComponent component);
  48.     }
  49. }

Developer Fusion