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

89 lines
5.3 KiB
C#

using System;
using System.Globalization;
using Cpp2IlInjected;
namespace System.ComponentModel
{
/// <summary>Provides a type converter to convert <see cref="T:System.Boolean" /> objects to and from various other representations.</summary>
// Token: 0x020000F0 RID: 240
[Token(Token = "0x20000F0")]
public class BooleanConverter : TypeConverter
{
/// <summary>Gets a value indicating whether this converter can convert an object in the given source type to a Boolean object using the specified context.</summary>
/// <param name="context">An <see cref="T:System.ComponentModel.ITypeDescriptorContext" /> that provides a format context.</param>
/// <param name="sourceType">A <see cref="T:System.Type" /> that represents the type you wish to convert from.</param>
/// <returns>
/// <see langword="true" /> if this object can perform the conversion; otherwise, <see langword="false" />.</returns>
// Token: 0x060005E0 RID: 1504 RVA: 0x00004548 File Offset: 0x00002748
[Token(Token = "0x60005E0")]
[Address(RVA = "0x495410", Offset = "0x494210", VA = "0x180495410", Slot = "4")]
public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
{
return default(bool);
}
/// <summary>Converts the given value object to a Boolean object.</summary>
/// <param name="context">An <see cref="T:System.ComponentModel.ITypeDescriptorContext" /> that provides a format context.</param>
/// <param name="culture">A <see cref="T:System.Globalization.CultureInfo" /> that specifies the culture to which to convert.</param>
/// <param name="value">The <see cref="T:System.Object" /> to convert.</param>
/// <returns>An <see cref="T:System.Object" /> that represents the converted <paramref name="value" />.</returns>
/// <exception cref="T:System.FormatException">
/// <paramref name="value" /> is not a valid value for the target type.</exception>
/// <exception cref="T:System.NotSupportedException">The conversion cannot be performed.</exception>
// Token: 0x060005E1 RID: 1505 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60005E1")]
[Address(RVA = "0x4954C0", Offset = "0x4942C0", VA = "0x1804954C0", Slot = "6")]
public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
{
return null;
}
/// <summary>Gets a collection of standard values for the Boolean data type.</summary>
/// <param name="context">An <see cref="T:System.ComponentModel.ITypeDescriptorContext" /> that provides a format context.</param>
/// <returns>A <see cref="T:System.ComponentModel.TypeConverter.StandardValuesCollection" /> that holds a standard set of valid values.</returns>
// Token: 0x060005E2 RID: 1506 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60005E2")]
[Address(RVA = "0x495690", Offset = "0x494490", VA = "0x180495690", Slot = "12")]
public override TypeConverter.StandardValuesCollection GetStandardValues(ITypeDescriptorContext context)
{
return null;
}
/// <summary>Gets a value indicating whether the list of standard values returned from the <see cref="M:System.ComponentModel.BooleanConverter.GetStandardValues(System.ComponentModel.ITypeDescriptorContext)" /> method is an exclusive list.</summary>
/// <param name="context">An <see cref="T:System.ComponentModel.ITypeDescriptorContext" /> that provides a format context.</param>
/// <returns>
/// <see langword="true" /> because the <see cref="T:System.ComponentModel.TypeConverter.StandardValuesCollection" /> returned from <see cref="M:System.ComponentModel.BooleanConverter.GetStandardValues(System.ComponentModel.ITypeDescriptorContext)" /> is an exhaustive list of possible values. This method never returns <see langword="false" />.</returns>
// Token: 0x060005E3 RID: 1507 RVA: 0x00004560 File Offset: 0x00002760
[Token(Token = "0x60005E3")]
[Address(RVA = "0x460D40", Offset = "0x45FB40", VA = "0x180460D40", Slot = "13")]
public override bool GetStandardValuesExclusive(ITypeDescriptorContext context)
{
return default(bool);
}
/// <summary>Gets a value indicating whether this object supports a standard set of values that can be picked from a list.</summary>
/// <param name="context">An <see cref="T:System.ComponentModel.ITypeDescriptorContext" /> that provides a format context.</param>
/// <returns>
/// <see langword="true" /> because <see cref="M:System.ComponentModel.BooleanConverter.GetStandardValues(System.ComponentModel.ITypeDescriptorContext)" /> can be called to find a common set of values the object supports. This method never returns <see langword="false" />.</returns>
// Token: 0x060005E4 RID: 1508 RVA: 0x00004578 File Offset: 0x00002778
[Token(Token = "0x60005E4")]
[Address(RVA = "0x460D40", Offset = "0x45FB40", VA = "0x180460D40", Slot = "14")]
public override bool GetStandardValuesSupported(ITypeDescriptorContext context)
{
return default(bool);
}
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.BooleanConverter" /> class.</summary>
// Token: 0x060005E5 RID: 1509 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60005E5")]
[Address(RVA = "0x495820", Offset = "0x494620", VA = "0x180495820")]
public BooleanConverter()
{
}
// Token: 0x0400046A RID: 1130
[Token(Token = "0x400046A")]
private static TypeConverter.StandardValuesCollection values;
}
}