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

63 lines
3.9 KiB
C#

using System;
using System.Globalization;
using Cpp2IlInjected;
namespace System.ComponentModel
{
/// <summary>Provides a type converter to convert collection objects to and from various other representations.</summary>
// Token: 0x020000FA RID: 250
[Token(Token = "0x20000FA")]
public class CollectionConverter : TypeConverter
{
/// <summary>Converts the given value object to the specified destination type.</summary>
/// <param name="context">An <see cref="T:System.ComponentModel.ITypeDescriptorContext" /> that provides a format context.</param>
/// <param name="culture">The culture to which <paramref name="value" /> will be converted.</param>
/// <param name="value">The <see cref="T:System.Object" /> to convert. This parameter must inherit from <see cref="T:System.Collections.ICollection" />.</param>
/// <param name="destinationType">The <see cref="T:System.Type" /> to convert the value to.</param>
/// <returns>An <see cref="T:System.Object" /> that represents the converted value.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="destinationType" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.NotSupportedException">The conversion cannot be performed.</exception>
// Token: 0x0600061A RID: 1562 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600061A")]
[Address(RVA = "0x4975C0", Offset = "0x4963C0", VA = "0x1804975C0", Slot = "7")]
public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
{
return null;
}
/// <summary>Gets a collection of properties for the type of array specified by the value parameter using the specified context and attributes.</summary>
/// <param name="context">An <see cref="T:System.ComponentModel.ITypeDescriptorContext" /> that provides a format context.</param>
/// <param name="value">An <see cref="T:System.Object" /> that specifies the type of array to get the properties for.</param>
/// <param name="attributes">An array of type <see cref="T:System.Attribute" /> that will be used as a filter.</param>
/// <returns>A <see cref="T:System.ComponentModel.PropertyDescriptorCollection" /> with the properties that are exposed for this data type, or <see langword="null" /> if there are no properties. This method always returns <see langword="null" />.</returns>
// Token: 0x0600061B RID: 1563 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600061B")]
[Address(RVA = "0x43E630", Offset = "0x43D430", VA = "0x18043E630", Slot = "10")]
public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext context, object value, Attribute[] attributes)
{
return null;
}
/// <summary>Gets a value indicating whether this object supports properties.</summary>
/// <param name="context">An <see cref="T:System.ComponentModel.ITypeDescriptorContext" /> that provides a format context.</param>
/// <returns>
/// <see langword="false" /> because <see cref="M:System.ComponentModel.CollectionConverter.GetProperties(System.ComponentModel.ITypeDescriptorContext,System.Object,System.Attribute[])" /> should not be called to find the properties of this object. This method never returns <see langword="true" />.</returns>
// Token: 0x0600061C RID: 1564 RVA: 0x00004680 File Offset: 0x00002880
[Token(Token = "0x600061C")]
[Address(RVA = "0x403930", Offset = "0x402730", VA = "0x180403930", Slot = "11")]
public override bool GetPropertiesSupported(ITypeDescriptorContext context)
{
return default(bool);
}
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.CollectionConverter" /> class.</summary>
// Token: 0x0600061D RID: 1565 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600061D")]
[Address(RVA = "0x490E60", Offset = "0x48FC60", VA = "0x180490E60")]
public CollectionConverter()
{
}
}
}