This commit is contained in:
niko
2026-04-12 16:51:38 +02:00
parent 1b6f6d81d0
commit c12fbe3fc6
17828 changed files with 2994770 additions and 0 deletions
@@ -0,0 +1,80 @@
using System;
using System.Globalization;
using Cpp2IlInjected;
namespace System.ComponentModel
{
/// <summary>Provides a type converter to convert <see cref="T:System.TimeSpan" /> objects to and from other representations.</summary>
// Token: 0x0200018B RID: 395
[Token(Token = "0x200018B")]
public class TimeSpanConverter : TypeConverter
{
/// <summary>Gets a value indicating whether this converter can convert an object in the given source type to a <see cref="T:System.TimeSpan" /> 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: 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);
}
/// <summary>Gets a value indicating whether this converter can convert an object to the given destination type using the context.</summary>
/// <param name="context">An <see cref="T:System.ComponentModel.ITypeDescriptorContext" /> that provides a format context.</param>
/// <param name="destinationType">A <see cref="T:System.Type" /> that represents the type you wish to convert to.</param>
/// <returns>
/// <see langword="true" /> if this converter can perform the conversion; otherwise, <see langword="false" />.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="destinationType" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.FormatException">
/// <paramref name="value" /> is not a valid value for the target type.</exception>
// 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);
}
/// <summary>Converts the given object to a <see cref="T:System.TimeSpan" />.</summary>
/// <param name="context">An <see cref="T:System.ComponentModel.ITypeDescriptorContext" /> that provides a format context.</param>
/// <param name="culture">An optional <see cref="T:System.Globalization.CultureInfo" />. If not supplied, the current culture is assumed.</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 cannot be performed.</exception>
/// <exception cref="T:System.FormatException">
/// <paramref name="value" /> is not a valid value for the target type.</exception>
// 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;
}
/// <summary>Converts the given object to another type.</summary>
/// <param name="context">A formatter context.</param>
/// <param name="culture">The culture into which <paramref name="value" /> will be converted.</param>
/// <param name="value">The object to convert.</param>
/// <param name="destinationType">The type to convert the object to.</param>
/// <returns>The converted object.</returns>
// 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;
}
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.TimeSpanConverter" /> class.</summary>
// Token: 0x06000A72 RID: 2674 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000A72")]
[Address(RVA = "0xC29640", Offset = "0xC28640", VA = "0x180C29640")]
public TimeSpanConverter()
{
}
}
}