using System; namespace System.Runtime.InteropServices { /// Identifies a list of interfaces that are exposed as COM event sources for the attributed class. // Token: 0x02000303 RID: 771 [ComVisible(true)] [AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)] public sealed class ComSourceInterfacesAttribute : Attribute { /// Initializes a new instance of the class with the name of the event source interface. /// A null-delimited list of fully qualified event source interface names. // Token: 0x060021D9 RID: 8665 RVA: 0x000791AC File Offset: 0x000773AC public ComSourceInterfacesAttribute(string sourceInterfaces) { this.internalValue = sourceInterfaces; } /// Initializes a new instance of the class with the type to use as a source interface. /// The of the source interface. // Token: 0x060021DA RID: 8666 RVA: 0x000791BC File Offset: 0x000773BC public ComSourceInterfacesAttribute(Type sourceInterface) { this.internalValue = sourceInterface.ToString(); } /// Initializes a new instance of the class with the types to use as source interfaces. /// The of the default source interface. /// The of a source interface. // Token: 0x060021DB RID: 8667 RVA: 0x000791D0 File Offset: 0x000773D0 public ComSourceInterfacesAttribute(Type sourceInterface1, Type sourceInterface2) { this.internalValue = sourceInterface1.ToString() + sourceInterface2.ToString(); } /// Initializes a new instance of the ComSourceInterfacesAttribute class with the types to use as source interfaces. /// The of the default source interface. /// The of a source interface. /// The of a source interface. // Token: 0x060021DC RID: 8668 RVA: 0x000791FC File Offset: 0x000773FC public ComSourceInterfacesAttribute(Type sourceInterface1, Type sourceInterface2, Type sourceInterface3) { this.internalValue = sourceInterface1.ToString() + sourceInterface2.ToString() + sourceInterface3.ToString(); } /// Initializes a new instance of the class with the types to use as source interfaces. /// The of the default source interface. /// The of a source interface. /// The of a source interface. /// The of a source interface. // Token: 0x060021DD RID: 8669 RVA: 0x0007922C File Offset: 0x0007742C public ComSourceInterfacesAttribute(Type sourceInterface1, Type sourceInterface2, Type sourceInterface3, Type sourceInterface4) { this.internalValue = sourceInterface1.ToString() + sourceInterface2.ToString() + sourceInterface3.ToString() + sourceInterface4.ToString(); } /// Gets the fully qualified name of the event source interface. /// The fully qualified name of the event source interface. // Token: 0x17000645 RID: 1605 // (get) Token: 0x060021DE RID: 8670 RVA: 0x00079264 File Offset: 0x00077464 public string Value { get { return this.internalValue; } } // Token: 0x04000CF6 RID: 3318 private string internalValue; } }