using System; using System.Globalization; using Cpp2IlInjected; namespace System.ComponentModel { /// Provides a type converter to convert objects to and from other representations. // Token: 0x0200018B RID: 395 [Token(Token = "0x200018B")] public class TimeSpanConverter : TypeConverter { /// Gets a value indicating whether this converter can convert an object in the given source type to a using the specified context. /// An that provides a format context. /// A that represents the type you wish to convert from. /// /// if this converter can perform the conversion; otherwise, . // Token: 0x06000A6E RID: 2670 RVA: 0x00006258 File Offset: 0x00004458 [Token(Token = "0x6000A6E")] [Address(RVA = "0xC28FE0", Offset = "0xC27FE0", VA = "0x180C28FE0", Slot = "4")] public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) { return default(bool); } /// Gets a value indicating whether this converter can convert an object to the given destination type using the context. /// An that provides a format context. /// A that represents the type you wish to convert to. /// /// if this converter can perform the conversion; otherwise, . /// /// is . /// /// is not a valid value for the target type. // Token: 0x06000A6F RID: 2671 RVA: 0x00006270 File Offset: 0x00004470 [Token(Token = "0x6000A6F")] [Address(RVA = "0xC29090", Offset = "0xC28090", VA = "0x180C29090", Slot = "5")] public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType) { return default(bool); } /// Converts the given object to a . /// An that provides a format context. /// An optional . If not supplied, the current culture is assumed. /// The to convert. /// An that represents the converted value. /// The conversion cannot be performed. /// /// is not a valid value for the target type. // Token: 0x06000A70 RID: 2672 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000A70")] [Address(RVA = "0xC29170", Offset = "0xC28170", VA = "0x180C29170", Slot = "6")] public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value) { return null; } /// Converts the given object to another type. /// A formatter context. /// The culture into which will be converted. /// The object to convert. /// The type to convert the object to. /// The converted object. // Token: 0x06000A71 RID: 2673 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6000A71")] [Address(RVA = "0xC29380", Offset = "0xC28380", VA = "0x180C29380", Slot = "7")] public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) { return null; } /// Initializes a new instance of the class. // Token: 0x06000A72 RID: 2674 RVA: 0x00002053 File Offset: 0x00000253 [Token(Token = "0x6000A72")] [Address(RVA = "0xC29640", Offset = "0xC28640", VA = "0x180C29640")] public TimeSpanConverter() { } } }