// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. // ------------------------------------------------------------------------------ // Changes to this file must follow the http://aka.ms/api-review process. // ------------------------------------------------------------------------------ namespace System.ComponentModel { public partial class ComponentCollection { internal ComponentCollection() { } } public partial interface IComponent : System.IDisposable { System.ComponentModel.ISite Site { get; set; } event System.EventHandler Disposed; } public partial interface IContainer : System.IDisposable { System.ComponentModel.ComponentCollection Components { get; } void Add(System.ComponentModel.IComponent component); void Add(System.ComponentModel.IComponent component, string name); void Remove(System.ComponentModel.IComponent component); } public partial interface ISite : System.IServiceProvider { System.ComponentModel.IComponent Component { get; } System.ComponentModel.IContainer Container { get; } bool DesignMode { get; } string Name { get; set; } } }