Files
2026-06-04 11:42:34 +02:00

37 lines
1.8 KiB
C#

using System;
using System.Runtime.InteropServices;
namespace System.ComponentModel
{
/// <summary>Provides functionality required by sites.</summary>
// Token: 0x02000090 RID: 144
[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: 0x1700014B RID: 331
// (get) Token: 0x060004F3 RID: 1267
IComponent Component { 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: 0x1700014C RID: 332
// (get) Token: 0x060004F4 RID: 1268
IContainer Container { get; }
/// <summary>Determines whether the component is in design mode when implemented by a class.</summary>
/// <returns>true if the component is in design mode; otherwise, false.</returns>
// Token: 0x1700014D RID: 333
// (get) Token: 0x060004F5 RID: 1269
bool DesignMode { 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 null, if no name is assigned to the component.</returns>
// Token: 0x1700014E RID: 334
// (get) Token: 0x060004F6 RID: 1270
// (set) Token: 0x060004F7 RID: 1271
string Name { get; set; }
}
}