Class EventInterface
- Namespace
- CsCom.Runtime
- Assembly
- CsCom.Runtime.dll
A source dispinterface of a coclass, through which its objects raise events, see GetEventInterfaces(IDispatch).
public sealed record EventInterface : IEquatable<EventInterface>
- Inheritance
-
EventInterface
- Implements
- Inherited Members
Constructors
EventInterface(Guid, IReadOnlyDictionary<string, EventMember>)
A source dispinterface of a coclass, through which its objects raise events, see GetEventInterfaces(IDispatch).
public EventInterface(Guid Iid, IReadOnlyDictionary<string, EventMember> Events)
Parameters
IidGuidThe interface identifier.
EventsIReadOnlyDictionary<string, EventMember>The events by name, ignoring case.
Properties
DispIds
Gets the dispatch identifiers of the events.
public IReadOnlySet<int> DispIds { get; }
Property Value
Events
The events by name, ignoring case.
public IReadOnlyDictionary<string, EventMember> Events { get; init; }
Property Value
Iid
The interface identifier.
public Guid Iid { get; init; }