diff options
| author | Shlomo Hecht <shlomo@twine-s.com> | 2020-04-02 10:15:32 +0300 |
|---|---|---|
| committer | Shlomo Hecht <shlomo@twine-s.com> | 2020-04-02 10:15:32 +0300 |
| commit | f051c52a15f629c8fbea0038a1df4831e56101cf (patch) | |
| tree | bf319615e3aa5a69a702a7ac662614c73f64b5a0 /Software/Visual_Studio/Tango.FileSystem/FileSystemItem.cs | |
| parent | ada2ce25bd36b6f7b3c8aa01039cc9611b22e55c (diff) | |
| parent | 44c91de2b71d128d9b47e240ee6f4e58b6b8544e (diff) | |
| download | Tango-f051c52a15f629c8fbea0038a1df4831e56101cf.tar.gz Tango-f051c52a15f629c8fbea0038a1df4831e56101cf.zip | |
Merge branch 'master' of https://twinetfs.visualstudio.com/Tango/_git/Tango
Diffstat (limited to 'Software/Visual_Studio/Tango.FileSystem/FileSystemItem.cs')
| -rw-r--r-- | Software/Visual_Studio/Tango.FileSystem/FileSystemItem.cs | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/Software/Visual_Studio/Tango.FileSystem/FileSystemItem.cs b/Software/Visual_Studio/Tango.FileSystem/FileSystemItem.cs index 536409f63..c8b2fce32 100644 --- a/Software/Visual_Studio/Tango.FileSystem/FileSystemItem.cs +++ b/Software/Visual_Studio/Tango.FileSystem/FileSystemItem.cs @@ -5,13 +5,19 @@ using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Media.Imaging; +using Tango.Core; using Tango.FileSystem.Network; namespace Tango.FileSystem { - public abstract class FileSystemItem + public abstract class FileSystemItem : ExtendedObject { - public String Path { get; set; } + private String _path; + public String Path + { + get { return _path; } + set { _path = value; RaisePropertyChangedAuto(); RaisePropertyChanged(nameof(Name)); } + } public FileSystemItemType Type { get; protected set; } |
