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: 0x02000130 RID: 304 [Token(Token = "0x2000130")] [ComVisible(true)] public interface IContainer : IDisposable { /// Adds the specified to the at the end of the list. /// The to add. // Token: 0x060007A2 RID: 1954 [Token(Token = "0x60007A2")] [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: 0x060007A3 RID: 1955 [Token(Token = "0x60007A3")] [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: 0x17000169 RID: 361 // (get) Token: 0x060007A4 RID: 1956 [Token(Token = "0x17000169")] ComponentCollection Components { [Token(Token = "0x60007A4")] [Address(Slot = "2")] get; } /// Removes a component from the . /// The to remove. // Token: 0x060007A5 RID: 1957 [Token(Token = "0x60007A5")] [Address(Slot = "3")] void Remove(IComponent component); } }