mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 22:46:30 +00:00
21 lines
547 B
C#
21 lines
547 B
C#
using System.Windows.Input;
|
|
using MediatR;
|
|
|
|
namespace Azaion.Annotator.DTO;
|
|
|
|
public class KeyEvent(object sender, KeyEventArgs args) : INotification
|
|
{
|
|
public object Sender { get; set; } = sender;
|
|
public KeyEventArgs Args { get; set; } = args;
|
|
}
|
|
|
|
public class PlaybackControlEvent(PlaybackControlEnum playbackControlEnum) : INotification
|
|
{
|
|
public PlaybackControlEnum PlaybackControl { get; set; } = playbackControlEnum;
|
|
}
|
|
|
|
public class VolumeChangedEvent(int volume) : INotification
|
|
{
|
|
public int Volume { get; set; } = volume;
|
|
}
|