scripts
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
using System;
|
||||
|
||||
namespace System.Runtime.InteropServices
|
||||
{
|
||||
/// <summary>Indicates the type of class interface to be generated for a class exposed to COM, if an interface is generated at all.</summary>
|
||||
// Token: 0x020002F9 RID: 761
|
||||
[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class, Inherited = false)]
|
||||
[ComVisible(true)]
|
||||
public sealed class ClassInterfaceAttribute : Attribute
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.InteropServices.ClassInterfaceAttribute" /> class with the specified <see cref="T:System.Runtime.InteropServices.ClassInterfaceType" /> enumeration value.</summary>
|
||||
/// <param name="classInterfaceType">Describes the type of interface that is generated for a class. </param>
|
||||
// Token: 0x060021C8 RID: 8648 RVA: 0x000790D4 File Offset: 0x000772D4
|
||||
public ClassInterfaceAttribute(short classInterfaceType)
|
||||
{
|
||||
this.ciType = (ClassInterfaceType)classInterfaceType;
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Runtime.InteropServices.ClassInterfaceAttribute" /> class with the specified <see cref="T:System.Runtime.InteropServices.ClassInterfaceType" /> enumeration member.</summary>
|
||||
/// <param name="classInterfaceType">One of the <see cref="T:System.Runtime.InteropServices.ClassInterfaceType" /> values that describes the type of interface that is generated for a class. </param>
|
||||
// Token: 0x060021C9 RID: 8649 RVA: 0x000790E4 File Offset: 0x000772E4
|
||||
public ClassInterfaceAttribute(ClassInterfaceType classInterfaceType)
|
||||
{
|
||||
this.ciType = classInterfaceType;
|
||||
}
|
||||
|
||||
/// <summary>Gets the <see cref="T:System.Runtime.InteropServices.ClassInterfaceType" /> value that describes which type of interface should be generated for the class.</summary>
|
||||
/// <returns>The <see cref="T:System.Runtime.InteropServices.ClassInterfaceType" /> value that describes which type of interface should be generated for the class.</returns>
|
||||
// Token: 0x1700063C RID: 1596
|
||||
// (get) Token: 0x060021CA RID: 8650 RVA: 0x000790F4 File Offset: 0x000772F4
|
||||
public ClassInterfaceType Value
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.ciType;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x04000CE1 RID: 3297
|
||||
private ClassInterfaceType ciType;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user