using System; namespace Svrnty.CQRS.Events.Abstractions.Discovery; /// /// Default implementation of IEventMeta. /// public sealed class EventMeta : IEventMeta { public EventMeta(Type eventType, string? description = null) { EventType = eventType; Description = description; } public string Name => EventType.Name; public Type EventType { get; } public string? Description { get; } }