Files
niko c12fbe3fc6 m
2026-04-12 16:51:38 +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: 0x02000192 RID: 402
[Token(Token = "0x2000192")]
public abstract class TypeDescriptionProvider
{
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.TypeDescriptionProvider" /> class.</summary>
// Token: 0x06000ABE RID: 2750 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000ABE")]
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
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: 0x06000ABF RID: 2751 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000ABF")]
[Address(RVA = "0x493D90", Offset = "0x492D90", VA = "0x180493D90")]
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: 0x06000AC0 RID: 2752 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000AC0")]
[Address(RVA = "0xC2B570", Offset = "0xC2A570", VA = "0x180C2B570", 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: 0x06000AC1 RID: 2753 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000AC1")]
[Address(RVA = "0xC2B670", Offset = "0xC2A670", VA = "0x180C2B670", 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: 0x06000AC2 RID: 2754 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000AC2")]
[Address(RVA = "0xC2B690", Offset = "0xC2A690", VA = "0x180C2B690", 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: 0x06000AC3 RID: 2755 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000AC3")]
[Address(RVA = "0xC2B720", Offset = "0xC2A720", VA = "0x180C2B720", 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: 0x06000AC4 RID: 2756 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000AC4")]
[Address(RVA = "0xC2B7C0", Offset = "0xC2A7C0", VA = "0x180C2B7C0", 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: 0x06000AC5 RID: 2757 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000AC5")]
[Address(RVA = "0x880D60", Offset = "0x87FD60", VA = "0x180880D60")]
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: 0x06000AC6 RID: 2758 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000AC6")]
[Address(RVA = "0xC2B850", Offset = "0xC2A850", VA = "0x180C2B850")]
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: 0x06000AC7 RID: 2759 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000AC7")]
[Address(RVA = "0xC2B8E0", Offset = "0xC2A8E0", VA = "0x180C2B8E0", 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: 0x06000AC8 RID: 2760 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000AC8")]
[Address(RVA = "0xC2B900", Offset = "0xC2A900", VA = "0x180C2B900", 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: 0x06000AC9 RID: 2761 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000AC9")]
[Address(RVA = "0xC2BB20", Offset = "0xC2AB20", VA = "0x180C2BB20")]
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: 0x06000ACA RID: 2762 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000ACA")]
[Address(RVA = "0xC2BA90", Offset = "0xC2AA90", VA = "0x180C2BA90")]
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: 0x06000ACB RID: 2763 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000ACB")]
[Address(RVA = "0xC2BB40", Offset = "0xC2AB40", VA = "0x180C2BB40", 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: 0x06000ACC RID: 2764 RVA: 0x00006510 File Offset: 0x00004710
[Token(Token = "0x6000ACC")]
[Address(RVA = "0xC2BBE0", Offset = "0xC2ABE0", VA = "0x180C2BBE0", Slot = "12")]
public virtual bool IsSupportedType(Type type)
{
return default(bool);
}
// Token: 0x040005F4 RID: 1524
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x40005F4")]
private TypeDescriptionProvider _parent;
// Token: 0x040005F5 RID: 1525
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x40005F5")]
private TypeDescriptionProvider.EmptyCustomTypeDescriptor _emptyDescriptor;
// Token: 0x02000193 RID: 403
[Token(Token = "0x2000193")]
private sealed class EmptyCustomTypeDescriptor : CustomTypeDescriptor
{
// Token: 0x06000ACD RID: 2765 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000ACD")]
[Address(RVA = "0x42BA20", Offset = "0x42AA20", VA = "0x18042BA20")]
public EmptyCustomTypeDescriptor()
{
}
}
}
}