Files
MayShow/src/ViewModels/WarningViewModel.cs
T
2026-02-18 09:36:17 +09:00

25 lines
351 B
C#

#nullable enable
using DialogHostAvalonia;
namespace MayShow.ViewModels;
class WarningViewModel
{
private string _error;
public WarningViewModel(string error)
{
_error = error;
}
public string Error
{
get => _error;
}
public void Close()
{
DialogHost.Close("DialogHost", null);
}
}