116 lines
5.8 KiB
C#
116 lines
5.8 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.ComponentModel
|
|
{
|
|
/// <summary>Provides a top-level mapping layer between a COM object and a <see cref="T:System.ComponentModel.TypeDescriptor" />.</summary>
|
|
// Token: 0x02000132 RID: 306
|
|
[Token(Token = "0x2000132")]
|
|
[Obsolete]
|
|
public interface IComNativeDescriptorHandler
|
|
{
|
|
/// <summary>Gets the attributes for the specified component.</summary>
|
|
/// <param name="component">The component to get attributes for.</param>
|
|
/// <returns>A collection of attributes for <paramref name="component" />.</returns>
|
|
// Token: 0x060007A8 RID: 1960
|
|
[Token(Token = "0x60007A8")]
|
|
[Address(Slot = "0")]
|
|
AttributeCollection GetAttributes(object component);
|
|
|
|
/// <summary>Gets the class name for the specified component.</summary>
|
|
/// <param name="component">The component to get the class name for.</param>
|
|
/// <returns>The name of the class that corresponds with <paramref name="component" />.</returns>
|
|
// Token: 0x060007A9 RID: 1961
|
|
[Token(Token = "0x60007A9")]
|
|
[Address(Slot = "1")]
|
|
string GetClassName(object component);
|
|
|
|
/// <summary>Gets the type converter for the specified component.</summary>
|
|
/// <param name="component">The component to get the <see cref="T:System.ComponentModel.TypeConverter" /> for.</param>
|
|
/// <returns>The <see cref="T:System.ComponentModel.TypeConverter" /> for <paramref name="component" />.</returns>
|
|
// Token: 0x060007AA RID: 1962
|
|
[Token(Token = "0x60007AA")]
|
|
[Address(Slot = "2")]
|
|
TypeConverter GetConverter(object component);
|
|
|
|
/// <summary>Gets the default event for the specified component.</summary>
|
|
/// <param name="component">The component to get the default event for.</param>
|
|
/// <returns>An <see cref="T:System.ComponentModel.EventDescriptor" /> that represents <paramref name="component" />'s default event.</returns>
|
|
// Token: 0x060007AB RID: 1963
|
|
[Token(Token = "0x60007AB")]
|
|
[Address(Slot = "3")]
|
|
EventDescriptor GetDefaultEvent(object component);
|
|
|
|
/// <summary>Gets the default property for the specified component.</summary>
|
|
/// <param name="component">The component to get the default property for.</param>
|
|
/// <returns>A <see cref="T:System.ComponentModel.PropertyDescriptor" /> that represents <paramref name="component" />'s default property.</returns>
|
|
// Token: 0x060007AC RID: 1964
|
|
[Token(Token = "0x60007AC")]
|
|
[Address(Slot = "4")]
|
|
PropertyDescriptor GetDefaultProperty(object component);
|
|
|
|
/// <summary>Gets the editor for the specified component.</summary>
|
|
/// <param name="component">The component to get the editor for.</param>
|
|
/// <param name="baseEditorType">The base type of the editor for <paramref name="component" />.</param>
|
|
/// <returns>The editor for <paramref name="component" />.</returns>
|
|
// Token: 0x060007AD RID: 1965
|
|
[Token(Token = "0x60007AD")]
|
|
[Address(Slot = "5")]
|
|
object GetEditor(object component, Type baseEditorType);
|
|
|
|
/// <summary>Gets the name of the specified component.</summary>
|
|
/// <param name="component">The component to get the name of.</param>
|
|
/// <returns>The name of <paramref name="component" />.</returns>
|
|
// Token: 0x060007AE RID: 1966
|
|
[Token(Token = "0x60007AE")]
|
|
[Address(Slot = "6")]
|
|
string GetName(object component);
|
|
|
|
/// <summary>Gets the events for the specified component.</summary>
|
|
/// <param name="component">The component to get events for.</param>
|
|
/// <returns>A collection of event descriptors for <paramref name="component" />.</returns>
|
|
// Token: 0x060007AF RID: 1967
|
|
[Token(Token = "0x60007AF")]
|
|
[Address(Slot = "7")]
|
|
EventDescriptorCollection GetEvents(object component);
|
|
|
|
/// <summary>Gets the events with the specified attributes for the specified component.</summary>
|
|
/// <param name="component">The component to get events for.</param>
|
|
/// <param name="attributes">The attributes used to filter events.</param>
|
|
/// <returns>A collection of event descriptors for <paramref name="component" />.</returns>
|
|
// Token: 0x060007B0 RID: 1968
|
|
[Token(Token = "0x60007B0")]
|
|
[Address(Slot = "8")]
|
|
EventDescriptorCollection GetEvents(object component, Attribute[] attributes);
|
|
|
|
/// <summary>Gets the properties with the specified attributes for the specified component.</summary>
|
|
/// <param name="component">The component to get events for.</param>
|
|
/// <param name="attributes">The attributes used to filter properties.</param>
|
|
/// <returns>A collection of property descriptors for <paramref name="component" />.</returns>
|
|
// Token: 0x060007B1 RID: 1969
|
|
[Token(Token = "0x60007B1")]
|
|
[Address(Slot = "9")]
|
|
PropertyDescriptorCollection GetProperties(object component, Attribute[] attributes);
|
|
|
|
/// <summary>Gets the value of the property that has the specified name.</summary>
|
|
/// <param name="component">The object to which the property belongs.</param>
|
|
/// <param name="propertyName">The name of the property.</param>
|
|
/// <param name="success">A <see cref="T:System.Boolean" />, passed by reference, that represents whether the property was retrieved.</param>
|
|
/// <returns>The value of the property that has the specified name.</returns>
|
|
// Token: 0x060007B2 RID: 1970
|
|
[Token(Token = "0x60007B2")]
|
|
[Address(Slot = "10")]
|
|
object GetPropertyValue(object component, string propertyName, ref bool success);
|
|
|
|
/// <summary>Gets the value of the property that has the specified dispatch identifier.</summary>
|
|
/// <param name="component">The object to which the property belongs.</param>
|
|
/// <param name="dispid">The dispatch identifier.</param>
|
|
/// <param name="success">A <see cref="T:System.Boolean" />, passed by reference, that represents whether the property was retrieved.</param>
|
|
/// <returns>The value of the property that has the specified dispatch identifier.</returns>
|
|
// Token: 0x060007B3 RID: 1971
|
|
[Token(Token = "0x60007B3")]
|
|
[Address(Slot = "11")]
|
|
object GetPropertyValue(object component, int dispid, ref bool success);
|
|
}
|
|
}
|