Table of Contents

Struct EventDataModel

Namespace
PolyType.Roslyn
Assembly
PolyType.Roslyn.dll

An event data model wrapping an IEventSymbol.

public readonly struct EventDataModel
Inherited Members

Properties

Event

The event symbol that this model represents.

public required IEventSymbol Event { get; init; }

Property Value

IEventSymbol

IsAmbiguous

Gets a value indicating whether the member is ambiguous due to diamond inheritance.

public bool IsAmbiguous { get; init; }

Property Value

bool

Name

The name used to identify the event in the generated code.

public required string Name { get; init; }

Property Value

string