Method | Description | |
---|---|---|
DirectorySearch ( string rootDir ) : List |
Recursively searches a directory for filenames using the given filters
|
|
EnableLocalDirectory ( bool enable ) : void |
Enables/disables local directory searching
|
|
GetFullPath ( string folder, string name ) : string |
Gets the full path to a file of the given type using the simple name of the file
|
|
GetTypes ( string folder ) : List |
Finds all resources that can be found in the given relative path
|
|
Initialize ( ) : void |
Initializes the system. Must be called before system can be used.
|
|
RefreshLocal ( ) : void |
Refreshes the collection of local resources
|
|
RefreshRTP ( ) : void |
Refreshes the collection of RTP resources
|
Method | Description | |
---|---|---|
FileSystemWatcherCreated ( object sender, |
Event raised when a file resource file is created
|
|
FileSystemWatcherDeleted ( object sender, |
Event raised when a file resource file is deleted
|
|
FileSystemWatcherRenamed ( object sender, |
Event raised when a file resource file is renamed
|
public static DirectorySearch ( string rootDir ) : List |
||
rootDir | string | Root directory to begin search |
return | List |
public static EnableLocalDirectory ( bool enable ) : void | ||
enable | bool | Flag to enable or disable local searching |
return | void |
public static GetFullPath ( string folder, string name ) : string | ||
folder | string | Folder name where the file to be found is located. |
name | string | Simple name of the file, without extension |
return | string |
public static GetTypes ( string folder ) : List |
||
folder | string | Directory that will be searched. This path must be relative to /// both the project and the root directory of the RTP |
return | List |