27 lines
427 B
C#
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;
|
|
}
|
|
} |