using System; using System.Runtime.InteropServices; using Cpp2IlInjected; namespace System.ComponentModel { /// Provides functionality for containers. Containers are objects that logically contain zero or more components. // Token: 0x02000134 RID: 308 [Token(Token = "0x2000134")] [ComVisible(true)] public interface IContainer : IDisposable { /// Adds the specified to the at the end of the list. /// The to add. // Token: 0x060007B8 RID: 1976 [Token(Token = "0x60007B8")] [Address(Slot = "0")] void Add(IComponent component); /// Adds the specified to the at the end of the list, and assigns a name to the component. /// The to add. /// The unique, case-insensitive name to assign to the component. /// -or- /// that leaves the component unnamed. // Token: 0x060007B9 RID: 1977 [Token(Token = "0x60007B9")] [Address(Slot = "1")] void Add(IComponent component, string name); /// Gets all the components in the . /// A collection of objects that represents all the components in the . // Token: 0x1700016D RID: 365 // (get) Token: 0x060007BA RID: 1978 [Token(Token = "0x1700016D")] ComponentCollection Components { [Token(Token = "0x60007BA")] [Address(Slot = "2")] get; } /// Removes a component from the . /// The to remove. // Token: 0x060007BB RID: 1979 [Token(Token = "0x60007BB")] [Address(Slot = "3")] void Remove(IComponent component); } }