48 lines
2.4 KiB
C#
48 lines
2.4 KiB
C#
using System;
|
|
using System.Globalization;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.ComponentModel
|
|
{
|
|
/// <summary>Provides a type converter to convert string objects to and from other representations.</summary>
|
|
// Token: 0x02000189 RID: 393
|
|
[Token(Token = "0x2000189")]
|
|
public class StringConverter : TypeConverter
|
|
{
|
|
/// <summary>Gets a value indicating whether this converter can convert an object in the given source type to a string 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 converter can perform the conversion; otherwise, <see langword="false" />.</returns>
|
|
// Token: 0x06000A68 RID: 2664 RVA: 0x000061F8 File Offset: 0x000043F8
|
|
[Token(Token = "0x6000A68")]
|
|
[Address(RVA = "0xC28C30", Offset = "0xC27C30", VA = "0x180C28C30", Slot = "4")]
|
|
public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
|
|
{
|
|
return default(bool);
|
|
}
|
|
|
|
/// <summary>Converts the specified value object to a <see cref="T:System.String" /> object.</summary>
|
|
/// <param name="context">An <see cref="T:System.ComponentModel.ITypeDescriptorContext" /> that provides a format context.</param>
|
|
/// <param name="culture">The <see cref="T:System.Globalization.CultureInfo" /> to use.</param>
|
|
/// <param name="value">The <see cref="T:System.Object" /> to convert.</param>
|
|
/// <returns>An <see cref="T:System.Object" /> that represents the converted value.</returns>
|
|
/// <exception cref="T:System.NotSupportedException">The conversion could not be performed.</exception>
|
|
// Token: 0x06000A69 RID: 2665 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000A69")]
|
|
[Address(RVA = "0xC28CE0", Offset = "0xC27CE0", VA = "0x180C28CE0", 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.StringConverter" /> class.</summary>
|
|
// Token: 0x06000A6A RID: 2666 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000A6A")]
|
|
[Address(RVA = "0xC28DD0", Offset = "0xC27DD0", VA = "0x180C28DD0")]
|
|
public StringConverter()
|
|
{
|
|
}
|
|
}
|
|
}
|