Files
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

76 lines
3.9 KiB
C#

using System;
using System.Globalization;
using Cpp2IlInjected;
namespace System.ComponentModel
{
/// <summary>Provides a type converter to convert <see cref="T:System.DateTimeOffset" /> structures to and from various other representations.</summary>
// Token: 0x0200010A RID: 266
[Token(Token = "0x200010A")]
public class DateTimeOffsetConverter : TypeConverter
{
/// <summary>Returns a value that indicates whether an object of the specified source type can be converted to a <see cref="T:System.DateTimeOffset" />.</summary>
/// <param name="context">The date format context.</param>
/// <param name="sourceType">The source type to check.</param>
/// <returns>
/// <see langword="true" /> if the specified type can be converted to a <see cref="T:System.DateTimeOffset" />; otherwise, <see langword="false" />.</returns>
// Token: 0x06000680 RID: 1664 RVA: 0x00004938 File Offset: 0x00002B38
[Token(Token = "0x6000680")]
[Address(RVA = "0xB9C320", Offset = "0xB9B320", VA = "0x180B9C320", Slot = "4")]
public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
{
return default(bool);
}
/// <summary>Returns a value that indicates whether a <see cref="T:System.DateTimeOffset" /> can be converted to an object of the specified type.</summary>
/// <param name="context">The date format context.</param>
/// <param name="destinationType">The destination type to check.</param>
/// <returns>
/// <see langword="true" /> if a <see cref="T:System.DateTimeOffset" /> can be converted to the specified type; otherwise, <see langword="false" />.</returns>
// Token: 0x06000681 RID: 1665 RVA: 0x00004950 File Offset: 0x00002B50
[Token(Token = "0x6000681")]
[Address(RVA = "0xB9C3D0", Offset = "0xB9B3D0", VA = "0x180B9C3D0", Slot = "5")]
public override bool CanConvertTo(ITypeDescriptorContext context, Type destinationType)
{
return default(bool);
}
/// <summary>Converts the specified object to a <see cref="T:System.DateTimeOffset" />.</summary>
/// <param name="context">The date format context.</param>
/// <param name="culture">The date culture.</param>
/// <param name="value">The object to be converted.</param>
/// <returns>A <see cref="T:System.DateTimeOffset" /> that represents the specified object.</returns>
/// <exception cref="T:System.NotSupportedException">The conversion cannot be performed.</exception>
// Token: 0x06000682 RID: 1666 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000682")]
[Address(RVA = "0xB9C480", Offset = "0xB9B480", VA = "0x180B9C480", Slot = "6")]
public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
{
return null;
}
/// <summary>Converts a <see cref="T:System.DateTimeOffset" /> to an object of the specified type.</summary>
/// <param name="context">The date format context.</param>
/// <param name="culture">The date culture.</param>
/// <param name="value">The <see cref="T:System.DateTimeOffset" /> to be converted.</param>
/// <param name="destinationType">The type to convert to.</param>
/// <returns>An object of the specified type that represents the <see cref="T:System.DateTimeOffset" />.</returns>
/// <exception cref="T:System.NotSupportedException">The conversion cannot be performed.</exception>
// Token: 0x06000683 RID: 1667 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000683")]
[Address(RVA = "0xB9C780", Offset = "0xB9B780", VA = "0x180B9C780", 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.DateTimeOffsetConverter" /> class.</summary>
// Token: 0x06000684 RID: 1668 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000684")]
[Address(RVA = "0xB9D340", Offset = "0xB9C340", VA = "0x180B9D340")]
public DateTimeOffsetConverter()
{
}
}
}