Files
annotations/Azaion.Common/Events/AnnotationsDeletedEvent.cs
T
Alex Bezdieniezhnykh d02550f5a0 huge queue refactoring:
3 queues -> 1 queue
send delete validate updates
2025-05-17 19:25:33 +03:00

15 lines
457 B
C#

using Azaion.Common.Database;
using MediatR;
namespace Azaion.Common.Events;
public class AnnotationsDeletedEvent(List<string> annotationNames, bool fromQueue = false) : INotification
{
public List<string> AnnotationNames { get; set; } = annotationNames;
public bool FromQueue { get; set; } = fromQueue;
}
public class AnnotationAddedEvent(Annotation annotation) : INotification
{
public Annotation Annotation { get; set; } = annotation;
}