diff --git a/Shared/SharedCore/PackFiles/Models/PackFile.cs b/Shared/SharedCore/PackFiles/Models/PackFile.cs index b3e7710a..3fa30636 100644 --- a/Shared/SharedCore/PackFiles/Models/PackFile.cs +++ b/Shared/SharedCore/PackFiles/Models/PackFile.cs @@ -2,7 +2,7 @@ namespace Shared.Core.PackFiles.Models { - public class PackFile : NotifyPropertyChangedImpl + public class PackFile { public IDataSource DataSource { get; set; } @@ -12,15 +12,10 @@ public PackFile(string name, IDataSource dataSource) DataSource = dataSource; } - string _name; - public string Name - { - get => _name; - set => SetAndNotify(ref _name, value); - } - public override string ToString() { return Name; } + public string Name { get; set; } + public override string ToString() => Name; public string Extention { get => Path.GetExtension(Name); } @@ -28,7 +23,4 @@ public string Name public static PackFile CreateFromASCII(string fileName, string str) => new(fileName, new MemorySource(System.Text.Encoding.ASCII.GetBytes(str))); public static PackFile CreateFromFileSystem(string fileName, string fullPath) => new(fileName, new FileSystemSource(fullPath)); } - - - }