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

Inheritance: DirectoryEntry
显示文件 Open project: Runt-Editor/Runt Class Usage Examples

Public Methods

Method Description
AsOpen ( bool open, Newtonsoft.Json.Linq.JObject c ) : Entry
Create ( DirectoryInfo dir ) : PackagesEntry
WithChild ( int index, Entry child, Newtonsoft.Json.Linq.JObject changes, Newtonsoft.Json.Linq.JObject subChange ) : Entry

Protected Methods

Method Description
PackagesEntry ( bool isOpen, DirectoryInfo dir, ImmutableList directories ) : System

Method Details

AsOpen() public method

public AsOpen ( bool open, Newtonsoft.Json.Linq.JObject c ) : Entry
open bool
c Newtonsoft.Json.Linq.JObject
return Entry

Create() public static method

public static Create ( DirectoryInfo dir ) : PackagesEntry
dir System.IO.DirectoryInfo
return PackagesEntry

PackagesEntry() protected method

protected PackagesEntry ( bool isOpen, DirectoryInfo dir, ImmutableList directories ) : System
isOpen bool
dir System.IO.DirectoryInfo
directories ImmutableList
return System

WithChild() public method

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
return Entry