| 12345678910111213141516171819202122232425262728293031323334 |
- //
- // System.Runtime.InteropServices.ComEventInterfaceAttribute.cs
- //
- // Name: Duncan Mak ([email protected])
- //
- // (C) Ximian, Inc.
- //
- using System;
- namespace System.Runtime.InteropServices {
- [AttributeUsage (AttributeTargets.Interface)]
- public sealed class ComEventInterfaceAttribute : Attribute
- {
- Type si, ep;
-
- public ComEventInterfaceAttribute (Type SourceInterface,
- Type EventProvider)
- {
- si = SourceInterface;
- ep = EventProvider;
- }
- public Type EventProvider {
- get { return ep; }
- }
- public Type SourceInterface {
- get { return si; }
- }
- }
- }
-
|