Files
niko c12fbe3fc6 m
2026-04-12 16:51:38 +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: 0x020000EC RID: 236
[Token(Token = "0x20000EC")]
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: 0x060005CA RID: 1482 RVA: 0x00004530 File Offset: 0x00002730
[Token(Token = "0x60005CA")]
[Address(RVA = "0xB92180", Offset = "0xB91180", VA = "0x180B92180", 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: 0x060005CB RID: 1483 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60005CB")]
[Address(RVA = "0xB92230", Offset = "0xB91230", VA = "0x180B92230", 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: 0x060005CC RID: 1484 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60005CC")]
[Address(RVA = "0xB92400", Offset = "0xB91400", VA = "0x180B92400", 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: 0x060005CD RID: 1485 RVA: 0x00004548 File Offset: 0x00002748
[Token(Token = "0x60005CD")]
[Address(RVA = "0x4246A0", Offset = "0x4236A0", VA = "0x1804246A0", 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: 0x060005CE RID: 1486 RVA: 0x00004560 File Offset: 0x00002760
[Token(Token = "0x60005CE")]
[Address(RVA = "0x4246A0", Offset = "0x4236A0", VA = "0x1804246A0", 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: 0x060005CF RID: 1487 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60005CF")]
[Address(RVA = "0xB92590", Offset = "0xB91590", VA = "0x180B92590")]
public BooleanConverter()
{
}
// Token: 0x0400045D RID: 1117
[Token(Token = "0x400045D")]
private static TypeConverter.StandardValuesCollection values;
}
}