using System; namespace System.Runtime.InteropServices { /// Indicates the type of class interface to be generated for a class exposed to COM, if an interface is generated at all. // Token: 0x020002F9 RID: 761 [AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class, Inherited = false)] [ComVisible(true)] public sealed class ClassInterfaceAttribute : Attribute { /// Initializes a new instance of the class with the specified enumeration value. /// Describes the type of interface that is generated for a class. // Token: 0x060021C8 RID: 8648 RVA: 0x000790D4 File Offset: 0x000772D4 public ClassInterfaceAttribute(short classInterfaceType) { this.ciType = (ClassInterfaceType)classInterfaceType; } /// Initializes a new instance of the class with the specified enumeration member. /// One of the values that describes the type of interface that is generated for a class. // Token: 0x060021C9 RID: 8649 RVA: 0x000790E4 File Offset: 0x000772E4 public ClassInterfaceAttribute(ClassInterfaceType classInterfaceType) { this.ciType = classInterfaceType; } /// Gets the value that describes which type of interface should be generated for the class. /// The value that describes which type of interface should be generated for the class. // 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; } }