Files
Needlework.Net/Needlework.Net.Desktop/Messages/EditorUpdateMessage.cs
BlossomiShymae ed89a1d543 WIP
2024-08-08 21:16:02 -05:00

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;
}
}
}