Files
GhostEngine/Ghost.Editor/Models/ExplorerItem.cs

27 lines
427 B
C#

using System.Collections.ObjectModel;
namespace Ghost.Editor.Models;
internal class ExplorerItem(string name, string path, bool isDirectory)
{
public string Name
{
get;
} = name;
public string FullName
{
get;
} = path;
public bool IsDirectory
{
get;
} = isDirectory;
public ObservableCollection<ExplorerItem>? Children
{
get;
set;
}
}