Files
Aug2021-Cpp2IL-Dump/System/ComponentModel/MultilineStringConverter.cs
T
2026-04-10 22:50:51 +02:00

63 lines
3.8 KiB
C#

using System;
using System.Globalization;
using Cpp2IlInjected;
namespace System.ComponentModel
{
/// <summary>Provides a type converter to convert multiline strings to a simple string.</summary>
// Token: 0x0200016E RID: 366
[Token(Token = "0x200016E")]
public class MultilineStringConverter : TypeConverter
{
/// <summary>Converts the given value object to the specified type, using the specified context and culture information.</summary>
/// <param name="context">An <see cref="T:System.ComponentModel.ITypeDescriptorContext" /> that provides a format context.</param>
/// <param name="culture">A <see cref="T:System.Globalization.CultureInfo" />. If <see langword="null" /> is passed, the current culture is assumed.</param>
/// <param name="value">The <see cref="T:System.Object" /> to convert.</param>
/// <param name="destinationType">The <see cref="T:System.Type" /> to convert the value parameter to.</param>
/// <returns>An <see cref="T:System.Object" /> that represents the converted value.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="destinationType" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.NotSupportedException">The conversion cannot be performed.</exception>
// Token: 0x06000938 RID: 2360 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000938")]
[Address(RVA = "0x4FC420", Offset = "0x4FB220", VA = "0x1804FC420", Slot = "7")]
public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
{
return null;
}
/// <summary>Returns a collection of properties for the type of array specified by the <paramref name="value" /> parameter, using the specified context and attributes.</summary>
/// <param name="context">An <see cref="T:System.ComponentModel.ITypeDescriptorContext" /> that provides a format context.</param>
/// <param name="value">An <see cref="T:System.Object" /> that specifies the type of array for which to get properties.</param>
/// <param name="attributes">An array of type <see cref="T:System.Attribute" /> that is used as a filter.</param>
/// <returns>A <see cref="T:System.ComponentModel.PropertyDescriptorCollection" /> with the properties that are exposed for this data type, or <see langword="null" /> if there are no properties.</returns>
// Token: 0x06000939 RID: 2361 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000939")]
[Address(RVA = "0x43E630", Offset = "0x43D430", VA = "0x18043E630", Slot = "10")]
public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext context, object value, Attribute[] attributes)
{
return null;
}
/// <summary>Returns whether this object supports properties, using the specified context.</summary>
/// <param name="context">An <see cref="T:System.ComponentModel.ITypeDescriptorContext" /> that provides a format context.</param>
/// <returns>
/// <see langword="true" /> if <see cref="Overload:System.ComponentModel.MultilineStringConverter.GetProperties" /> should be called to find the properties of this object; otherwise, <see langword="false" />.</returns>
// Token: 0x0600093A RID: 2362 RVA: 0x00005B98 File Offset: 0x00003D98
[Token(Token = "0x600093A")]
[Address(RVA = "0x403930", Offset = "0x402730", VA = "0x180403930", Slot = "11")]
public override bool GetPropertiesSupported(ITypeDescriptorContext context)
{
return default(bool);
}
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.MultilineStringConverter" /> class.</summary>
// Token: 0x0600093B RID: 2363 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x600093B")]
[Address(RVA = "0x4FC570", Offset = "0x4FB370", VA = "0x1804FC570")]
public MultilineStringConverter()
{
}
}
}