File: System\ComponentModel\Design\IInheritanceService.cs
Web Access
Project: src\src\libraries\System.ComponentModel.TypeConverter\src\System.ComponentModel.TypeConverter.csproj (System.ComponentModel.TypeConverter)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
namespace System.ComponentModel.Design
{
    /// <summary>
    /// Provides a set of utilities for analyzing and identifying inherited components.
    /// </summary>
    public interface IInheritanceService
    {
        /// <summary>
        /// Adds inherited components from the specified component to the specified container.
        /// </summary>
        void AddInheritedComponents(IComponent component, IContainer container);
 
        /// <summary>
        /// Gets the inheritance attribute of the specified
        /// component. If the component is not being inherited, this method will return the
        /// value <see cref='System.ComponentModel.InheritanceAttribute.NotInherited'/>.
        /// Otherwise it will return the inheritance attribute for this component.
        /// </summary>
        InheritanceAttribute GetInheritanceAttribute(IComponent component);
    }
}