m
This commit is contained in:
@@ -0,0 +1,52 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.ComponentModel.Design.Serialization
|
||||
{
|
||||
/// <summary>Indicates a serializer for the serialization manager to use to serialize the values of the type this attribute is applied to. This class cannot be inherited.</summary>
|
||||
// Token: 0x020001C5 RID: 453
|
||||
[Token(Token = "0x20001C5")]
|
||||
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface)]
|
||||
public sealed class DesignerSerializerAttribute : Attribute
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.Design.Serialization.DesignerSerializerAttribute" /> class.</summary>
|
||||
/// <param name="serializerTypeName">The fully qualified name of the data type of the serializer.</param>
|
||||
/// <param name="baseSerializerTypeName">The fully qualified name of the base data type of the serializer. Multiple serializers can be supplied for a class as long as the serializers have different base types.</param>
|
||||
// Token: 0x06000C21 RID: 3105 RVA: 0x00002053 File Offset: 0x00000253
|
||||
[Token(Token = "0x6000C21")]
|
||||
[Address(RVA = "0x4714F0", Offset = "0x4704F0", VA = "0x1804714F0")]
|
||||
public DesignerSerializerAttribute(string serializerTypeName, string baseSerializerTypeName)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Indicates a unique ID for this attribute type.</summary>
|
||||
/// <returns>A unique ID for this attribute type.</returns>
|
||||
// Token: 0x17000232 RID: 562
|
||||
// (get) Token: 0x06000C22 RID: 3106 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x17000232")]
|
||||
public override object TypeId
|
||||
{
|
||||
[Token(Token = "0x6000C22")]
|
||||
[Address(RVA = "0xC52D30", Offset = "0xC51D30", VA = "0x180C52D30", Slot = "4")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0400064C RID: 1612
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x400064C")]
|
||||
private string serializerTypeName;
|
||||
|
||||
// Token: 0x0400064D RID: 1613
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x400064D")]
|
||||
private string serializerBaseTypeName;
|
||||
|
||||
// Token: 0x0400064E RID: 1614
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x400064E")]
|
||||
private string typeId;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,76 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Reflection;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.ComponentModel.Design.Serialization
|
||||
{
|
||||
/// <summary>Provides the information necessary to create an instance of an object. This class cannot be inherited.</summary>
|
||||
// Token: 0x020001C6 RID: 454
|
||||
[Token(Token = "0x20001C6")]
|
||||
public sealed class InstanceDescriptor
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.Design.Serialization.InstanceDescriptor" /> class using the specified member information and arguments.</summary>
|
||||
/// <param name="member">The member information for the descriptor. This can be a <see cref="T:System.Reflection.MethodInfo" />, <see cref="T:System.Reflection.ConstructorInfo" />, <see cref="T:System.Reflection.FieldInfo" />, or <see cref="T:System.Reflection.PropertyInfo" />. If this is a <see cref="T:System.Reflection.MethodInfo" />, <see cref="T:System.Reflection.FieldInfo" />, or <see cref="T:System.Reflection.PropertyInfo" />, it must represent a <see langword="static" /> member.</param>
|
||||
/// <param name="arguments">The collection of arguments to pass to the member. This parameter can be <see langword="null" /> or an empty collection if there are no arguments. The collection can also consist of other instances of <see cref="T:System.ComponentModel.Design.Serialization.InstanceDescriptor" />.</param>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="member" /> is of type <see cref="T:System.Reflection.MethodInfo" />, <see cref="T:System.Reflection.FieldInfo" />, or <see cref="T:System.Reflection.PropertyInfo" />, and it does not represent a <see langword="static" /> member.
|
||||
/// -or-
|
||||
/// <paramref name="member" /> is of type <see cref="T:System.Reflection.PropertyInfo" /> and is not readable.
|
||||
/// -or-
|
||||
/// <paramref name="member" /> is of type <see cref="T:System.Reflection.MethodInfo" /> or <see cref="T:System.Reflection.ConstructorInfo" />, and the number of arguments in <paramref name="arguments" /> does not match the signature of <paramref name="member" />.
|
||||
/// -or-
|
||||
/// <paramref name="member" /> is of type <see cref="T:System.Reflection.ConstructorInfo" /> and represents a <see langword="static" /> member.
|
||||
/// -or-
|
||||
/// <paramref name="member" /> is of type <see cref="T:System.Reflection.FieldInfo" />, and the number of arguments in <paramref name="arguments" /> is not zero.</exception>
|
||||
// Token: 0x06000C23 RID: 3107 RVA: 0x00002053 File Offset: 0x00000253
|
||||
[Token(Token = "0x6000C23")]
|
||||
[Address(RVA = "0xC59490", Offset = "0xC58490", VA = "0x180C59490")]
|
||||
public InstanceDescriptor(MemberInfo member, ICollection arguments)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.Design.Serialization.InstanceDescriptor" /> class using the specified member information, arguments, and value indicating whether the specified information completely describes the instance.</summary>
|
||||
/// <param name="member">The member information for the descriptor. This can be a <see cref="T:System.Reflection.MethodInfo" />, <see cref="T:System.Reflection.ConstructorInfo" />, <see cref="T:System.Reflection.FieldInfo" />, or <see cref="T:System.Reflection.PropertyInfo" />. If this is a <see cref="T:System.Reflection.MethodInfo" />, <see cref="T:System.Reflection.FieldInfo" />, or <see cref="T:System.Reflection.PropertyInfo" />, it must represent a <see langword="static" /> member.</param>
|
||||
/// <param name="arguments">The collection of arguments to pass to the member. This parameter can be <see langword="null" /> or an empty collection if there are no arguments. The collection can also consist of other instances of <see cref="T:System.ComponentModel.Design.Serialization.InstanceDescriptor" />.</param>
|
||||
/// <param name="isComplete">
|
||||
/// <see langword="true" /> if the specified information completely describes the instance; otherwise, <see langword="false" />.</param>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="member" /> is of type <see cref="T:System.Reflection.MethodInfo" />, <see cref="T:System.Reflection.FieldInfo" />, or <see cref="T:System.Reflection.PropertyInfo" />, and it does not represent a <see langword="static" /> member
|
||||
/// <paramref name="member" /> is of type <see cref="T:System.Reflection.PropertyInfo" /> and is not readable.
|
||||
/// <paramref name="member" /> is of type <see cref="T:System.Reflection.MethodInfo" /> or <see cref="T:System.Reflection.ConstructorInfo" /> and the number of arguments in <paramref name="arguments" /> does not match the signature of <paramref name="member" />.
|
||||
/// <paramref name="member" /> is of type <see cref="T:System.Reflection.ConstructorInfo" /> and represents a <see langword="static" /> member
|
||||
/// <paramref name="member" /> is of type <see cref="T:System.Reflection.FieldInfo" />, and the number of arguments in <paramref name="arguments" /> is not zero.</exception>
|
||||
// Token: 0x06000C24 RID: 3108 RVA: 0x00002053 File Offset: 0x00000253
|
||||
[Token(Token = "0x6000C24")]
|
||||
[Address(RVA = "0xC58EA0", Offset = "0xC57EA0", VA = "0x180C58EA0")]
|
||||
public InstanceDescriptor(MemberInfo member, ICollection arguments, bool isComplete)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Invokes this instance descriptor and returns the object the descriptor describes.</summary>
|
||||
/// <returns>The object this instance descriptor describes.</returns>
|
||||
// Token: 0x06000C25 RID: 3109 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6000C25")]
|
||||
[Address(RVA = "0xC58990", Offset = "0xC57990", VA = "0x180C58990")]
|
||||
public object Invoke()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x0400064F RID: 1615
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x400064F")]
|
||||
private MemberInfo member;
|
||||
|
||||
// Token: 0x04000650 RID: 1616
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4000650")]
|
||||
private ICollection arguments;
|
||||
|
||||
// Token: 0x04000651 RID: 1617
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4000651")]
|
||||
private bool isComplete;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,61 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user