Files
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

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: 0x0200012E RID: 302
[Token(Token = "0x200012E")]
[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: 0x06000792 RID: 1938
[Token(Token = "0x6000792")]
[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: 0x06000793 RID: 1939
[Token(Token = "0x6000793")]
[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: 0x06000794 RID: 1940
[Token(Token = "0x6000794")]
[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: 0x06000795 RID: 1941
[Token(Token = "0x6000795")]
[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: 0x06000796 RID: 1942
[Token(Token = "0x6000796")]
[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: 0x06000797 RID: 1943
[Token(Token = "0x6000797")]
[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: 0x06000798 RID: 1944
[Token(Token = "0x6000798")]
[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: 0x06000799 RID: 1945
[Token(Token = "0x6000799")]
[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: 0x0600079A RID: 1946
[Token(Token = "0x600079A")]
[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: 0x0600079B RID: 1947
[Token(Token = "0x600079B")]
[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: 0x0600079C RID: 1948
[Token(Token = "0x600079C")]
[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: 0x0600079D RID: 1949
[Token(Token = "0x600079D")]
[Address(Slot = "11")]
object GetPropertyValue(object component, int dispid, ref bool success);
}
}