a
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
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: 0x0200018D RID: 397
|
||||
[Token(Token = "0x200018D")]
|
||||
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: 0x06000A7E RID: 2686 RVA: 0x00006210 File Offset: 0x00004410
|
||||
[Token(Token = "0x6000A7E")]
|
||||
[Address(RVA = "0x4D9250", Offset = "0x4D8050", VA = "0x1804D9250", 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: 0x06000A7F RID: 2687 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6000A7F")]
|
||||
[Address(RVA = "0x4D9300", Offset = "0x4D8100", VA = "0x1804D9300", 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: 0x06000A80 RID: 2688 RVA: 0x00002053 File Offset: 0x00000253
|
||||
[Token(Token = "0x6000A80")]
|
||||
[Address(RVA = "0x4D93F0", Offset = "0x4D81F0", VA = "0x1804D93F0")]
|
||||
public StringConverter()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user