63 lines
3.8 KiB
C#
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: 0x0200016A RID: 362
|
|
[Token(Token = "0x200016A")]
|
|
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: 0x06000922 RID: 2338 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000922")]
|
|
[Address(RVA = "0xC66770", Offset = "0xC65770", VA = "0x180C66770", 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: 0x06000923 RID: 2339 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6000923")]
|
|
[Address(RVA = "0x4242C0", Offset = "0x4232C0", VA = "0x1804242C0", 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: 0x06000924 RID: 2340 RVA: 0x00005B80 File Offset: 0x00003D80
|
|
[Token(Token = "0x6000924")]
|
|
[Address(RVA = "0x424690", Offset = "0x423690", VA = "0x180424690", 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: 0x06000925 RID: 2341 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000925")]
|
|
[Address(RVA = "0xC668C0", Offset = "0xC658C0", VA = "0x180C668C0")]
|
|
public MultilineStringConverter()
|
|
{
|
|
}
|
|
}
|
|
}
|