Files
2026-04-10 22:50:51 +02:00

215 lines
11 KiB
C#

using System;
using System.Collections;
using Cpp2IlInjected;
namespace System.ComponentModel
{
/// <summary>Provides supplemental metadata to the <see cref="T:System.ComponentModel.TypeDescriptor" />.</summary>
// Token: 0x02000196 RID: 406
[Token(Token = "0x2000196")]
public abstract class TypeDescriptionProvider
{
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.TypeDescriptionProvider" /> class.</summary>
// Token: 0x06000AD4 RID: 2772 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000AD4")]
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
protected TypeDescriptionProvider()
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.TypeDescriptionProvider" /> class using a parent type description provider.</summary>
/// <param name="parent">The parent type description provider.</param>
// Token: 0x06000AD5 RID: 2773 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000AD5")]
[Address(RVA = "0x3FFB80", Offset = "0x3FE980", VA = "0x1803FFB80")]
protected TypeDescriptionProvider(TypeDescriptionProvider parent)
{
}
/// <summary>Creates an object that can substitute for another data type.</summary>
/// <param name="provider">An optional service provider.</param>
/// <param name="objectType">The type of object to create. This parameter is never <see langword="null" />.</param>
/// <param name="argTypes">An optional array of types that represent the parameter types to be passed to the object's constructor. This array can be <see langword="null" /> or of zero length.</param>
/// <param name="args">An optional array of parameter values to pass to the object's constructor.</param>
/// <returns>The substitute <see cref="T:System.Object" />.</returns>
// Token: 0x06000AD6 RID: 2774 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000AD6")]
[Address(RVA = "0x4DBC10", Offset = "0x4DAA10", VA = "0x1804DBC10", Slot = "4")]
public virtual object CreateInstance(IServiceProvider provider, Type objectType, Type[] argTypes, object[] args)
{
return null;
}
/// <summary>Gets a per-object cache, accessed as an <see cref="T:System.Collections.IDictionary" /> of key/value pairs.</summary>
/// <param name="instance">The object for which to get the cache.</param>
/// <returns>An <see cref="T:System.Collections.IDictionary" /> if the provided object supports caching; otherwise, <see langword="null" />.</returns>
// Token: 0x06000AD7 RID: 2775 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000AD7")]
[Address(RVA = "0x4DBD10", Offset = "0x4DAB10", VA = "0x1804DBD10", Slot = "5")]
public virtual IDictionary GetCache(object instance)
{
return null;
}
/// <summary>Gets an extended custom type descriptor for the given object.</summary>
/// <param name="instance">The object for which to get the extended type descriptor.</param>
/// <returns>An <see cref="T:System.ComponentModel.ICustomTypeDescriptor" /> that can provide extended metadata for the object.</returns>
// Token: 0x06000AD8 RID: 2776 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000AD8")]
[Address(RVA = "0x4DBD30", Offset = "0x4DAB30", VA = "0x1804DBD30", Slot = "6")]
public virtual ICustomTypeDescriptor GetExtendedTypeDescriptor(object instance)
{
return null;
}
/// <summary>Gets the extender providers for the specified object.</summary>
/// <param name="instance">The object to get extender providers for.</param>
/// <returns>An array of extender providers for <paramref name="instance" />.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="instance" /> is <see langword="null" />.</exception>
// Token: 0x06000AD9 RID: 2777 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000AD9")]
[Address(RVA = "0x4DBDC0", Offset = "0x4DABC0", VA = "0x1804DBDC0", Slot = "7")]
protected internal virtual IExtenderProvider[] GetExtenderProviders(object instance)
{
return null;
}
/// <summary>Gets the name of the specified component, or <see langword="null" /> if the component has no name.</summary>
/// <param name="component">The specified component.</param>
/// <returns>The name of the specified component.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="component" /> is <see langword="null" />.</exception>
// Token: 0x06000ADA RID: 2778 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000ADA")]
[Address(RVA = "0x4DBE60", Offset = "0x4DAC60", VA = "0x1804DBE60", Slot = "8")]
public virtual string GetFullComponentName(object component)
{
return null;
}
/// <summary>Performs normal reflection against a type.</summary>
/// <param name="objectType">The type of object for which to retrieve the <see cref="T:System.Reflection.IReflect" />.</param>
/// <returns>The type of reflection for this <paramref name="objectType" />.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="objectType" /> is <see langword="null" />.</exception>
// Token: 0x06000ADB RID: 2779 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000ADB")]
[Address(RVA = "0x4DBEF0", Offset = "0x4DACF0", VA = "0x1804DBEF0")]
public Type GetReflectionType(Type objectType)
{
return null;
}
/// <summary>Performs normal reflection against the given object.</summary>
/// <param name="instance">An instance of the type (should not be <see langword="null" />).</param>
/// <returns>The type of reflection for this <paramref name="instance" />.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="instance" /> is <see langword="null" />.</exception>
// Token: 0x06000ADC RID: 2780 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000ADC")]
[Address(RVA = "0x4DBF10", Offset = "0x4DAD10", VA = "0x1804DBF10")]
public Type GetReflectionType(object instance)
{
return null;
}
/// <summary>Performs normal reflection against the given object with the given type.</summary>
/// <param name="objectType">The type of object for which to retrieve the <see cref="T:System.Reflection.IReflect" />.</param>
/// <param name="instance">An instance of the type. Can be <see langword="null" />.</param>
/// <returns>The type of reflection for this <paramref name="objectType" />.</returns>
// Token: 0x06000ADD RID: 2781 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000ADD")]
[Address(RVA = "0x4DBFA0", Offset = "0x4DADA0", VA = "0x1804DBFA0", Slot = "9")]
public virtual Type GetReflectionType(Type objectType, object instance)
{
return null;
}
/// <summary>Converts a reflection type into a runtime type.</summary>
/// <param name="reflectionType">The type to convert to its runtime equivalent.</param>
/// <returns>A <see cref="T:System.Type" /> that represents the runtime equivalent of <paramref name="reflectionType" />.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="reflectionType" /> is <see langword="null" />.</exception>
// Token: 0x06000ADE RID: 2782 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000ADE")]
[Address(RVA = "0x4DBFC0", Offset = "0x4DADC0", VA = "0x1804DBFC0", Slot = "10")]
public virtual Type GetRuntimeType(Type reflectionType)
{
return null;
}
/// <summary>Gets a custom type descriptor for the given type.</summary>
/// <param name="objectType">The type of object for which to retrieve the type descriptor.</param>
/// <returns>An <see cref="T:System.ComponentModel.ICustomTypeDescriptor" /> that can provide metadata for the type.</returns>
// Token: 0x06000ADF RID: 2783 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000ADF")]
[Address(RVA = "0x4DC1E0", Offset = "0x4DAFE0", VA = "0x1804DC1E0")]
public ICustomTypeDescriptor GetTypeDescriptor(Type objectType)
{
return null;
}
/// <summary>Gets a custom type descriptor for the given object.</summary>
/// <param name="instance">An instance of the type. Can be <see langword="null" /> if no instance was passed to the <see cref="T:System.ComponentModel.TypeDescriptor" />.</param>
/// <returns>An <see cref="T:System.ComponentModel.ICustomTypeDescriptor" /> that can provide metadata for the type.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="instance" /> is <see langword="null" />.</exception>
// Token: 0x06000AE0 RID: 2784 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000AE0")]
[Address(RVA = "0x4DC150", Offset = "0x4DAF50", VA = "0x1804DC150")]
public ICustomTypeDescriptor GetTypeDescriptor(object instance)
{
return null;
}
/// <summary>Gets a custom type descriptor for the given type and object.</summary>
/// <param name="objectType">The type of object for which to retrieve the type descriptor.</param>
/// <param name="instance">An instance of the type. Can be <see langword="null" /> if no instance was passed to the <see cref="T:System.ComponentModel.TypeDescriptor" />.</param>
/// <returns>An <see cref="T:System.ComponentModel.ICustomTypeDescriptor" /> that can provide metadata for the type.</returns>
// Token: 0x06000AE1 RID: 2785 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000AE1")]
[Address(RVA = "0x4DC200", Offset = "0x4DB000", VA = "0x1804DC200", Slot = "11")]
public virtual ICustomTypeDescriptor GetTypeDescriptor(Type objectType, object instance)
{
return null;
}
/// <summary>Gets a value that indicates whether the specified type is compatible with the type description and its chain of type description providers.</summary>
/// <param name="type">The type to test for compatibility.</param>
/// <returns>
/// <see langword="true" /> if <paramref name="type" /> is compatible with the type description and its chain of type description providers; otherwise, <see langword="false" />.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="type" /> is <see langword="null" />.</exception>
// Token: 0x06000AE2 RID: 2786 RVA: 0x00006528 File Offset: 0x00004728
[Token(Token = "0x6000AE2")]
[Address(RVA = "0x4DC2A0", Offset = "0x4DB0A0", VA = "0x1804DC2A0", Slot = "12")]
public virtual bool IsSupportedType(Type type)
{
return default(bool);
}
// Token: 0x04000601 RID: 1537
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4000601")]
private TypeDescriptionProvider _parent;
// Token: 0x04000602 RID: 1538
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x4000602")]
private TypeDescriptionProvider.EmptyCustomTypeDescriptor _emptyDescriptor;
// Token: 0x02000197 RID: 407
[Token(Token = "0x2000197")]
private sealed class EmptyCustomTypeDescriptor : CustomTypeDescriptor
{
// Token: 0x06000AE3 RID: 2787 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000AE3")]
[Address(RVA = "0x4093D0", Offset = "0x4081D0", VA = "0x1804093D0")]
public EmptyCustomTypeDescriptor()
{
}
}
}
}