C# Class Runt.Core.Model.Workspace

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

Private Properties

Property Type Description
FindProject Runt.Core.Model.FileTree.ProjectEntry
Workspace System

Public Methods

Method Description
Create ( string path ) : Workspace
WithContent ( Entry content, Newtonsoft.Json.Linq.JObject changes, Newtonsoft.Json.Linq.JObject partials ) : Workspace

Private Methods

Method Description
FindProject ( Entry entry, string relPath ) : ProjectEntry
Workspace ( DirectoryInfo dir, Entry tree, ImmutableList projects ) : System

Method Details

Create() public static method

public static Create ( string path ) : Workspace
path string
return Workspace

WithContent() public method

public WithContent ( Entry content, Newtonsoft.Json.Linq.JObject changes, Newtonsoft.Json.Linq.JObject partials ) : Workspace
content Runt.Core.Model.FileTree.Entry
changes Newtonsoft.Json.Linq.JObject
partials Newtonsoft.Json.Linq.JObject
return Workspace