for code which has been ported to accept an IFileSystemContainer but expects something like a Folder which has a name

This commit is contained in:
Michael Becker 2020-06-06 03:21:23 -04:00
parent 2a64d6a799
commit fbcdf24976
No known key found for this signature in database
GPG Key ID: 506F54899E2BFED7
2 changed files with 2 additions and 0 deletions

View File

@ -127,6 +127,7 @@ namespace UniversalEditor.ObjectModels.FileSystem
/// The title associated with this file system. Not supported by all <see cref="DataFormat" />s.
/// </summary>
public string Title { get; set; } = String.Empty;
public string Name { get; set; } = String.Empty;
private string[] mvarPathSeparators = new string[] { "/", "\\" }; // System.IO.Path.DirectorySeparatorChar.ToString(), System.IO.Path.AltDirectorySeparatorChar.ToString() };
public string[] PathSeparators { get { return mvarPathSeparators; } set { mvarPathSeparators = value; } }

View File

@ -33,5 +33,6 @@ namespace UniversalEditor.ObjectModels.FileSystem
File AddFile(string name, byte[] fileData = null);
FileSystemObjectModel FileSystem { get; }
string Name { get; set; }
}
}