using System;
using System.Globalization;
using Cpp2IlInjected;
namespace System.ComponentModel
{
/// Provides a type converter to convert objects to and from other representations.
// Token: 0x0200018F RID: 399
[Token(Token = "0x200018F")]
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: 0x06000A84 RID: 2692 RVA: 0x00006270 File Offset: 0x00004470
[Token(Token = "0x6000A84")]
[Address(RVA = "0x4D9600", Offset = "0x4D8400", VA = "0x1804D9600", 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: 0x06000A85 RID: 2693 RVA: 0x00006288 File Offset: 0x00004488
[Token(Token = "0x6000A85")]
[Address(RVA = "0x4D96B0", Offset = "0x4D84B0", VA = "0x1804D96B0", 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: 0x06000A86 RID: 2694 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000A86")]
[Address(RVA = "0x4D9790", Offset = "0x4D8590", VA = "0x1804D9790", 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: 0x06000A87 RID: 2695 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000A87")]
[Address(RVA = "0x4D99A0", Offset = "0x4D87A0", VA = "0x1804D99A0", Slot = "7")]
public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
{
return null;
}
/// Initializes a new instance of the class.
// Token: 0x06000A88 RID: 2696 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000A88")]
[Address(RVA = "0x4D9C60", Offset = "0x4D8A60", VA = "0x1804D9C60")]
public TimeSpanConverter()
{
}
}
}