Files
niko 8fc35183db a
2026-04-11 22:19:20 +02:00

67 lines
2.3 KiB
C#

using System;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System.ComponentModel
{
/// <summary>Provides functionality required by sites.</summary>
// Token: 0x02000142 RID: 322
[Token(Token = "0x2000142")]
[ComVisible(true)]
public interface ISite : IServiceProvider
{
/// <summary>Gets the component associated with the <see cref="T:System.ComponentModel.ISite" /> when implemented by a class.</summary>
/// <returns>The <see cref="T:System.ComponentModel.IComponent" /> instance associated with the <see cref="T:System.ComponentModel.ISite" />.</returns>
// Token: 0x17000176 RID: 374
// (get) Token: 0x060007DE RID: 2014
[Token(Token = "0x17000176")]
IComponent Component
{
[Token(Token = "0x60007DE")]
[Address(Slot = "0")]
get;
}
/// <summary>Gets the <see cref="T:System.ComponentModel.IContainer" /> associated with the <see cref="T:System.ComponentModel.ISite" /> when implemented by a class.</summary>
/// <returns>The <see cref="T:System.ComponentModel.IContainer" /> instance associated with the <see cref="T:System.ComponentModel.ISite" />.</returns>
// Token: 0x17000177 RID: 375
// (get) Token: 0x060007DF RID: 2015
[Token(Token = "0x17000177")]
IContainer Container
{
[Token(Token = "0x60007DF")]
[Address(Slot = "1")]
get;
}
/// <summary>Determines whether the component is in design mode when implemented by a class.</summary>
/// <returns>
/// <see langword="true" /> if the component is in design mode; otherwise, <see langword="false" />.</returns>
// Token: 0x17000178 RID: 376
// (get) Token: 0x060007E0 RID: 2016
[Token(Token = "0x17000178")]
bool DesignMode
{
[Token(Token = "0x60007E0")]
[Address(Slot = "2")]
get;
}
/// <summary>Gets or sets the name of the component associated with the <see cref="T:System.ComponentModel.ISite" /> when implemented by a class.</summary>
/// <returns>The name of the component associated with the <see cref="T:System.ComponentModel.ISite" />; or <see langword="null" />, if no name is assigned to the component.</returns>
// Token: 0x17000179 RID: 377
// (get) Token: 0x060007E1 RID: 2017
// (set) Token: 0x060007E2 RID: 2018
[Token(Token = "0x17000179")]
string Name
{
[Token(Token = "0x60007E1")]
[Address(Slot = "3")]
get;
[Token(Token = "0x60007E2")]
[Address(Slot = "4")]
set;
}
}
}