26 lines
606 B
C#
26 lines
606 B
C#
using System;
|
|
|
|
namespace Svrnty.CQRS.Events.Abstractions.Discovery;
|
|
|
|
/// <summary>
|
|
/// Metadata describing a registered event type.
|
|
/// Used for runtime discovery of all event types in the application.
|
|
/// </summary>
|
|
public interface IEventMeta
|
|
{
|
|
/// <summary>
|
|
/// The name of the event (e.g., "UserInvitationSentEvent").
|
|
/// </summary>
|
|
string Name { get; }
|
|
|
|
/// <summary>
|
|
/// The CLR type of the event.
|
|
/// </summary>
|
|
Type EventType { get; }
|
|
|
|
/// <summary>
|
|
/// Optional user-friendly description of this event.
|
|
/// </summary>
|
|
string? Description { get; }
|
|
}
|