Table of Contents

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

Iid Guid

The interface identifier.

Events IReadOnlyDictionary<string, EventMember>

The events by name, ignoring case.

Properties

DispIds

Gets the dispatch identifiers of the events.

public IReadOnlySet<int> DispIds { get; }

Property Value

IReadOnlySet<int>

Events

The events by name, ignoring case.

public IReadOnlyDictionary<string, EventMember> Events { get; init; }

Property Value

IReadOnlyDictionary<string, EventMember>

Iid

The interface identifier.

public Guid Iid { get; init; }

Property Value

Guid