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

62 lines
2.6 KiB
C#

using System;
using Cpp2IlInjected;
namespace System.ComponentModel.Design.Serialization
{
/// <summary>Indicates the base serializer to use for a root designer object. This class cannot be inherited.</summary>
// Token: 0x020001C7 RID: 455
[Token(Token = "0x20001C7")]
[Obsolete]
[Obsolete("This attribute has been deprecated. Use DesignerSerializerAttribute instead. For example, to specify a root designer for CodeDom, use DesignerSerializerAttribute(...,typeof(TypeCodeDomSerializer)). http://go.microsoft.com/fwlink/?linkid=14202")]
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface)]
public sealed class RootDesignerSerializerAttribute : Attribute
{
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.Design.Serialization.RootDesignerSerializerAttribute" /> class using the specified attributes.</summary>
/// <param name="serializerTypeName">The fully qualified name of the data type of the serializer.</param>
/// <param name="baseSerializerTypeName">The name of the base type of the serializer. A class can include multiple serializers as they all have different base types.</param>
/// <param name="reloadable">
/// <see langword="true" /> if this serializer supports dynamic reloading of the document; otherwise, <see langword="false" />.</param>
// Token: 0x06000C26 RID: 3110 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000C26")]
[Address(RVA = "0xC693F0", Offset = "0xC683F0", VA = "0x180C693F0")]
public RootDesignerSerializerAttribute(string serializerTypeName, string baseSerializerTypeName, bool reloadable)
{
}
/// <summary>Gets a unique ID for this attribute type.</summary>
/// <returns>An object containing a unique ID for this attribute type.</returns>
// Token: 0x17000233 RID: 563
// (get) Token: 0x06000C27 RID: 3111 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x17000233")]
public override object TypeId
{
[Token(Token = "0x6000C27")]
[Address(RVA = "0xC69440", Offset = "0xC68440", VA = "0x180C69440", Slot = "4")]
get
{
return null;
}
}
// Token: 0x04000652 RID: 1618
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4000652")]
private bool reloadable;
// Token: 0x04000653 RID: 1619
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x4000653")]
private string serializerTypeName;
// Token: 0x04000654 RID: 1620
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x4000654")]
private string serializerBaseTypeName;
// Token: 0x04000655 RID: 1621
[FieldOffset(Offset = "0x28")]
[Token(Token = "0x4000655")]
private string typeId;
}
}