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

Inheritance: DirectoryEntry
ファイルを表示 Open project: Runt-Editor/Runt Class Usage Examples

Protected Properties

Property Type Description
_children Lazy>

Private Properties

Property Type Description
WithReferences ProjectEntry

Public Methods

Method 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
WithConfigurations ( string name, IImmutableList configurations ) : ProjectEntry
WithDiagnostics ( IImmutableList errors, IImmutableList warnings, Newtonsoft.Json.Linq.JObject change ) : ProjectEntry
WithId ( int id, Newtonsoft.Json.Linq.JObject change ) : ProjectEntry
WithReferences ( ReferencesEventArgs e, Newtonsoft.Json.Linq.JObject c ) : ProjectEntry
WithSources ( SourcesEventArgs e ) : ProjectEntry

Protected Methods

Method Description
ProjectEntry ( string rel, bool isOpen, DirectoryInfo dir, ImmutableList directories, ImmutableList files, ReferencesEntry references, ImmutableList diagnostics, int id, ImmutableList sources, string>.ImmutableDictionary generatedSources, IImmutableList configurations ) : System

Private Methods

Method Description
WithReferences ( ReferencesEntry newRef, Newtonsoft.Json.Linq.JObject changes, Newtonsoft.Json.Linq.JObject subChanges ) : ProjectEntry

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, string relativePath ) : ImmutableList>.Tuple
dir System.IO.DirectoryInfo
relativePath string
return ImmutableList>.Tuple

ProjectEntry() protected method

protected ProjectEntry ( string rel, bool isOpen, DirectoryInfo dir, ImmutableList directories, ImmutableList files, ReferencesEntry references, ImmutableList diagnostics, int id, ImmutableList sources, string>.ImmutableDictionary generatedSources, IImmutableList configurations ) : System
rel string
isOpen bool
dir System.IO.DirectoryInfo
directories ImmutableList
files ImmutableList
references ReferencesEntry
diagnostics ImmutableList
id int
sources ImmutableList
generatedSources string>.ImmutableDictionary
configurations IImmutableList
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

WithConfigurations() public method

public WithConfigurations ( string name, IImmutableList configurations ) : ProjectEntry
name string
configurations IImmutableList
return ProjectEntry

WithDiagnostics() public method

public WithDiagnostics ( IImmutableList errors, IImmutableList warnings, Newtonsoft.Json.Linq.JObject change ) : ProjectEntry
errors IImmutableList
warnings IImmutableList
change Newtonsoft.Json.Linq.JObject
return ProjectEntry

WithId() public method

public WithId ( int id, Newtonsoft.Json.Linq.JObject change ) : ProjectEntry
id int
change Newtonsoft.Json.Linq.JObject
return ProjectEntry

WithReferences() public method

public WithReferences ( ReferencesEventArgs e, Newtonsoft.Json.Linq.JObject c ) : ProjectEntry
e ReferencesEventArgs
c Newtonsoft.Json.Linq.JObject
return ProjectEntry

WithSources() public method

public WithSources ( SourcesEventArgs e ) : ProjectEntry
e SourcesEventArgs
return ProjectEntry

Property Details

_children protected_oe property

protected Lazy> _children
return Lazy>