a
This commit is contained in:
@@ -0,0 +1,64 @@
|
||||
using System;
|
||||
using System.Globalization;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.ComponentModel
|
||||
{
|
||||
/// <summary>Provides a type converter to convert Unicode character objects to and from various other representations.</summary>
|
||||
// Token: 0x020000F6 RID: 246
|
||||
[Token(Token = "0x20000F6")]
|
||||
public class CharConverter : TypeConverter
|
||||
{
|
||||
/// <summary>Gets a value indicating whether this converter can convert an object in the given source type to a Unicode character 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 want to convert from.</param>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if this converter can perform the conversion; otherwise, <see langword="false" />.</returns>
|
||||
// Token: 0x0600060F RID: 1551 RVA: 0x00004650 File Offset: 0x00002850
|
||||
[Token(Token = "0x600060F")]
|
||||
[Address(RVA = "0x497180", Offset = "0x495F80", VA = "0x180497180", Slot = "4")]
|
||||
public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
/// <summary>Converts the given value object to a Unicode character object using the arguments.</summary>
|
||||
/// <param name="context">An <see cref="T:System.ComponentModel.ITypeDescriptorContext" /> that provides a format context.</param>
|
||||
/// <param name="culture">The culture into which <paramref name="value" /> will be converted.</param>
|
||||
/// <param name="value">The <see cref="T:System.Object" /> to convert.</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.NotSupportedException">The conversion cannot be performed.</exception>
|
||||
// Token: 0x06000610 RID: 1552 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6000610")]
|
||||
[Address(RVA = "0x4973D0", Offset = "0x4961D0", VA = "0x1804973D0", Slot = "7")]
|
||||
public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Converts the given object to a Unicode character object.</summary>
|
||||
/// <param name="context">An <see cref="T:System.ComponentModel.ITypeDescriptorContext" /> that provides a format context.</param>
|
||||
/// <param name="culture">The culture into which <paramref name="value" /> will be converted.</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: 0x06000611 RID: 1553 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6000611")]
|
||||
[Address(RVA = "0x497230", Offset = "0x496030", VA = "0x180497230", Slot = "6")]
|
||||
public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.CharConverter" /> class.</summary>
|
||||
// Token: 0x06000612 RID: 1554 RVA: 0x00002053 File Offset: 0x00000253
|
||||
[Token(Token = "0x6000612")]
|
||||
[Address(RVA = "0x4974E0", Offset = "0x4962E0", VA = "0x1804974E0")]
|
||||
public CharConverter()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user