m
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
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: 0x02000130 RID: 304
|
||||
[Token(Token = "0x2000130")]
|
||||
[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: 0x060007A2 RID: 1954
|
||||
[Token(Token = "0x60007A2")]
|
||||
[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: 0x060007A3 RID: 1955
|
||||
[Token(Token = "0x60007A3")]
|
||||
[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: 0x17000169 RID: 361
|
||||
// (get) Token: 0x060007A4 RID: 1956
|
||||
[Token(Token = "0x17000169")]
|
||||
ComponentCollection Components
|
||||
{
|
||||
[Token(Token = "0x60007A4")]
|
||||
[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: 0x060007A5 RID: 1957
|
||||
[Token(Token = "0x60007A5")]
|
||||
[Address(Slot = "3")]
|
||||
void Remove(IComponent component);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user