mirror of
https://github.com/ZuneDev/ZuneUIXTools.git
synced 2026-07-27 13:11:59 -07:00
Initial decomp work
This commit is contained in:
@@ -4,21 +4,13 @@ using System.IO;
|
||||
|
||||
namespace ZuneUIXTools.ViewModels
|
||||
{
|
||||
public class UIXDocumentViewModel : ObservableObject
|
||||
public class UIXDocumentViewModel : DocumentViewModelBase
|
||||
{
|
||||
public UIXDocumentViewModel(string fileName)
|
||||
public UIXDocumentViewModel(string fileName) : base(fileName)
|
||||
{
|
||||
FileName = fileName;
|
||||
Content = File.ReadAllText(fileName);
|
||||
}
|
||||
|
||||
private string _FileName;
|
||||
public string FileName
|
||||
{
|
||||
get => _FileName;
|
||||
set => SetProperty(ref _FileName, value);
|
||||
}
|
||||
|
||||
private string _content = null;
|
||||
public string Content
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user