Files
2026-04-10 22:50:51 +02:00

50 lines
2.2 KiB
C#

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