62 lines
2.6 KiB
C#
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: 0x020001CB RID: 459
|
|
[Token(Token = "0x20001CB")]
|
|
[Obsolete]
|
|
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface)]
|
|
[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")]
|
|
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: 0x06000C3C RID: 3132 RVA: 0x00002053 File Offset: 0x00000253
|
|
[Token(Token = "0x6000C3C")]
|
|
[Address(RVA = "0x4FF0A0", Offset = "0x4FDEA0", VA = "0x1804FF0A0")]
|
|
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: 0x17000237 RID: 567
|
|
// (get) Token: 0x06000C3D RID: 3133 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x17000237")]
|
|
public override object TypeId
|
|
{
|
|
[Token(Token = "0x6000C3D")]
|
|
[Address(RVA = "0x4FF0F0", Offset = "0x4FDEF0", VA = "0x1804FF0F0", Slot = "4")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0400065F RID: 1631
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x400065F")]
|
|
private bool reloadable;
|
|
|
|
// Token: 0x04000660 RID: 1632
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x4000660")]
|
|
private string serializerTypeName;
|
|
|
|
// Token: 0x04000661 RID: 1633
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x4000661")]
|
|
private string serializerBaseTypeName;
|
|
|
|
// Token: 0x04000662 RID: 1634
|
|
[FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x4000662")]
|
|
private string typeId;
|
|
}
|
|
}
|