Xamarin Public Jenkins (auto-signing) e79aa3c0ed Imported Upstream version 4.6.0.125
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
2016-08-03 10:59:49 +00:00

41 lines
1.5 KiB
C#

//------------------------------------------------------------------------------
// <copyright file="IInheritanceService.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//------------------------------------------------------------------------------
/*
*/
namespace System.ComponentModel.Design {
using System.ComponentModel;
using System.Diagnostics;
using System;
/// <devdoc>
/// <para>Provides a set of utilities
/// for analyzing and identifying inherited components.</para>
/// </devdoc>
public interface IInheritanceService {
/// <devdoc>
/// <para>
/// Adds inherited components from the specified component to the specified container.
/// </para>
/// </devdoc>
void AddInheritedComponents(IComponent component, IContainer container);
/// <devdoc>
/// <para>
/// 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.
/// </para>
/// </devdoc>
InheritanceAttribute GetInheritanceAttribute(IComponent component);
}
}