0
mirror of https://github.com/sampletext32/ParkanPlayground.git synced 2025-05-18 19:31:17 +03:00
ParkanPlayground/NResUI/Models/ScrViewModel.cs
2025-02-26 04:27:16 +03:00

20 lines
370 B
C#

using ScrLib;
namespace NResUI.Models;
public class ScrViewModel
{
public bool HasFile { get; set; }
public string? Error { get; set; }
public ScrFile? Scr { get; set; }
public string? Path { get; set; }
public void SetParseResult(ScrFile scrFile, string path)
{
Scr = scrFile;
HasFile = true;
Path = path;
}
}