mirror of
https://github.com/BlossomiShymae/Needlework.Net.git
synced 2025-12-06 18:20:47 +01:00
21 lines
460 B
C#
21 lines
460 B
C#
using CommunityToolkit.Mvvm.Messaging.Messages;
|
|
|
|
namespace Needlework.Net.Desktop.Messages
|
|
{
|
|
public class EditorUpdateMessage(EditorUpdate editorUpdate) : ValueChangedMessage<EditorUpdate>(editorUpdate)
|
|
{
|
|
}
|
|
|
|
public class EditorUpdate
|
|
{
|
|
public string Text { get; }
|
|
public string Key { get; }
|
|
|
|
public EditorUpdate(string text, string key)
|
|
{
|
|
Text = text;
|
|
Key = key;
|
|
}
|
|
}
|
|
}
|