C# Class Runt.Core.Model.FileTree.DirectoryEntry

Inheritance: Entry
Afficher le fichier Open project: Runt-Editor/Runt

Protected Properties

Свойство Type Description
_children Lazy>
_dir System.IO.DirectoryInfo
_directories ImmutableList
_files ImmutableList

Méthodes publiques

Méthode Description
AsOpen ( bool open, Newtonsoft.Json.Linq.JObject c ) : Entry
Create ( DirectoryInfo dir, string relativePath ) : ImmutableList>.Tuple
WithChild ( int index, Entry child, Newtonsoft.Json.Linq.JObject changes, Newtonsoft.Json.Linq.JObject subChange ) : Entry

Méthodes protégées

Méthode Description
ChangeIndex ( int index, Entry newVal, Newtonsoft.Json.Linq.JObject changes, Newtonsoft.Json.Linq.JObject subChanges ) : ImmutableList>.Tuple
DirectoryEntry ( string rel, bool isOpen, DirectoryInfo dir, ImmutableList directories, ImmutableList files ) : System

Method Details

AsOpen() public méthode

public AsOpen ( bool open, Newtonsoft.Json.Linq.JObject c ) : Entry
open bool
c Newtonsoft.Json.Linq.JObject
Résultat Entry

ChangeIndex() protected méthode

protected ChangeIndex ( int index, Entry newVal, Newtonsoft.Json.Linq.JObject changes, Newtonsoft.Json.Linq.JObject subChanges ) : ImmutableList>.Tuple
index int
newVal Entry
changes Newtonsoft.Json.Linq.JObject
subChanges Newtonsoft.Json.Linq.JObject
Résultat ImmutableList>.Tuple

Create() public static méthode

public static Create ( DirectoryInfo dir, string relativePath ) : ImmutableList>.Tuple
dir System.IO.DirectoryInfo
relativePath string
Résultat ImmutableList>.Tuple

DirectoryEntry() protected méthode

protected DirectoryEntry ( string rel, bool isOpen, DirectoryInfo dir, ImmutableList directories, ImmutableList files ) : System
rel string
isOpen bool
dir System.IO.DirectoryInfo
directories ImmutableList
files ImmutableList
Résultat System

WithChild() public méthode

public WithChild ( int index, Entry child, Newtonsoft.Json.Linq.JObject changes, Newtonsoft.Json.Linq.JObject subChange ) : Entry
index int
child Entry
changes Newtonsoft.Json.Linq.JObject
subChange Newtonsoft.Json.Linq.JObject
Résultat Entry

Property Details

_children protected_oe property

protected Lazy> _children
Résultat Lazy>

_dir protected_oe property

protected DirectoryInfo,System.IO _dir
Résultat System.IO.DirectoryInfo

_directories protected_oe property

protected ImmutableList _directories
Résultat ImmutableList

_files protected_oe property

protected ImmutableList _files
Résultat ImmutableList