C# Class AGS.Plugin.Lua.LuaScriptFolderInfo

Datei anzeigen Open project: duncanc/Lua-for-AGS Class Usage Examples

Public Properties

Property Type Description
Scripts LuaScriptFileInfo>.SortedDictionary
SubFolders LuaScriptFolderInfo>.SortedDictionary
parent LuaScriptFolderInfo

Private Properties

Property Type Description
AddToDeleteStack void
OnWatchedChange void
RefreshIcons void

Public Methods

Method Description
AddIcon ( ) : void
AddSubFolder ( string name ) : LuaScriptFolderInfo
BeenDeleted ( ) : void
BeenRenamed ( string newName ) : void
Delete ( ) : void
DisableAllWatchers ( ) : void
EnableAllWatchers ( ) : void
EnsureExistence ( ) : void
InitFileSystemWatcher ( ) : void
LuaScriptFolderInfo ( LuaForAGSEditorComponent l4a_component, LuaScriptFolderInfo parent, DirectoryInfo actualDir ) : System
OnFileSystemEvent ( object sender, FileSystemEventArgs e ) : void
ToXml ( XmlWriter output ) : void
TryCreateScript ( string name ) : bool
TryCreateSubfolder ( string name ) : bool
TryRename ( string newName ) : bool
UpdateChildren ( ) : void
UpdateFromXml ( XmlElement element ) : void

Private Methods

Method Description
AddToDeleteStack ( Stack deleteStack ) : void
OnWatchedChange ( WatcherChangeTypes change, string name, string oldName ) : void
RefreshIcons ( ) : void

Method Details

AddIcon() public method

public AddIcon ( ) : void
return void

AddSubFolder() public method

public AddSubFolder ( string name ) : LuaScriptFolderInfo
name string
return LuaScriptFolderInfo

BeenDeleted() public method

public BeenDeleted ( ) : void
return void

BeenRenamed() public method

public BeenRenamed ( string newName ) : void
newName string
return void

Delete() public method

public Delete ( ) : void
return void

DisableAllWatchers() public method

public DisableAllWatchers ( ) : void
return void

EnableAllWatchers() public method

public EnableAllWatchers ( ) : void
return void

EnsureExistence() public method

public EnsureExistence ( ) : void
return void

InitFileSystemWatcher() public method

public InitFileSystemWatcher ( ) : void
return void

LuaScriptFolderInfo() public method

public LuaScriptFolderInfo ( LuaForAGSEditorComponent l4a_component, LuaScriptFolderInfo parent, DirectoryInfo actualDir ) : System
l4a_component LuaForAGSEditorComponent
parent LuaScriptFolderInfo
actualDir System.IO.DirectoryInfo
return System

OnFileSystemEvent() public method

public OnFileSystemEvent ( object sender, FileSystemEventArgs e ) : void
sender object
e System.IO.FileSystemEventArgs
return void

ToXml() public method

public ToXml ( XmlWriter output ) : void
output System.Xml.XmlWriter
return void

TryCreateScript() public method

public TryCreateScript ( string name ) : bool
name string
return bool

TryCreateSubfolder() public method

public TryCreateSubfolder ( string name ) : bool
name string
return bool

TryRename() public method

public TryRename ( string newName ) : bool
newName string
return bool

UpdateChildren() public method

public UpdateChildren ( ) : void
return void

UpdateFromXml() public method

public UpdateFromXml ( XmlElement element ) : void
element System.Xml.XmlElement
return void

Property Details

Scripts public_oe property

public SortedDictionary Scripts
return LuaScriptFileInfo>.SortedDictionary

SubFolders public_oe property

public SortedDictionary SubFolders
return LuaScriptFolderInfo>.SortedDictionary

parent public_oe property

public LuaScriptFolderInfo,AGS.Plugin.Lua parent
return LuaScriptFolderInfo