C# Class StonehearthEditor.FileData

Inheritance: IDisposable
Afficher le fichier Open project: stonehearth/stonehearth-editor Class Usage Examples

Méthodes publiques

Méthode Description
AddError ( string error ) : void
Clone ( string newPath, CloneObjectParameters parameters, HashSet alreadyCloned, bool execute ) : bool

Dispose ( ) : void
FillDependencyListItems ( ListBox listView ) : void
FillReferencesListItems ( ListBox listView ) : void
GetNameForCloning ( ) : string
Load ( ) : void
ShouldCloneDependency ( string dependencyName, CloneObjectParameters parameters ) : bool
ToString ( ) : string
TrySaveFile ( ) : void
TrySetFlatFileData ( string newData ) : bool
UpdateTreeNode ( TreeNode node, string filter ) : bool

Méthodes protégées

Méthode Description
FileData ( string path ) : System
GetDependencies ( ) : FileData>.Dictionary
GetLinkedFileData ( string path ) : FileData
LoadInternal ( ) : void
PostLoad ( ) : void
TryChangeFlatFileData ( string newData, string &newFlatFileData ) : bool

Method Details

AddError() public méthode

public AddError ( string error ) : void
error string
Résultat void

Clone() public méthode

public Clone ( string newPath, CloneObjectParameters parameters, HashSet alreadyCloned, bool execute ) : bool
newPath string
parameters CloneObjectParameters
alreadyCloned HashSet
execute bool whether to actual execute the clone. otherwise, this is just a preview
Résultat bool

Dispose() public méthode

public Dispose ( ) : void
Résultat void

FileData() protected méthode

protected FileData ( string path ) : System
path string
Résultat System

FillDependencyListItems() public méthode

public FillDependencyListItems ( ListBox listView ) : void
listView System.Windows.Forms.ListBox
Résultat void

FillReferencesListItems() public méthode

public FillReferencesListItems ( ListBox listView ) : void
listView System.Windows.Forms.ListBox
Résultat void

GetDependencies() protected méthode

protected GetDependencies ( ) : FileData>.Dictionary
Résultat FileData>.Dictionary

GetLinkedFileData() protected méthode

protected GetLinkedFileData ( string path ) : FileData
path string
Résultat FileData

GetNameForCloning() public méthode

public GetNameForCloning ( ) : string
Résultat string

Load() public méthode

public Load ( ) : void
Résultat void

LoadInternal() protected méthode

protected LoadInternal ( ) : void
Résultat void

PostLoad() protected méthode

protected PostLoad ( ) : void
Résultat void

ShouldCloneDependency() public méthode

public ShouldCloneDependency ( string dependencyName, CloneObjectParameters parameters ) : bool
dependencyName string
parameters CloneObjectParameters
Résultat bool

ToString() public méthode

public ToString ( ) : string
Résultat string

TryChangeFlatFileData() protected méthode

protected TryChangeFlatFileData ( string newData, string &newFlatFileData ) : bool
newData string
newFlatFileData string
Résultat bool

TrySaveFile() public méthode

public TrySaveFile ( ) : void
Résultat void

TrySetFlatFileData() public méthode

public TrySetFlatFileData ( string newData ) : bool
newData string
Résultat bool

UpdateTreeNode() public méthode

public UpdateTreeNode ( TreeNode node, string filter ) : bool
node System.Windows.Forms.TreeNode
filter string
Résultat bool