Properties
LoadingProgress
#Gets the progress factor (0.0 to 1.0). This is the ratio of all loaded+failed plugins to all known plugins.
Methods
AddFailedLocation
#Add a failed location to this Plugins instance. The location must currently already be part of the Scoped list.
Parameters:
| location (string) | Location to add to failed list. |
| info (FailureInfo) | Reason for load failure. |
AddLoadedPlugin
#Add a loaded plugin to this Plugins instance. The location must currently already be part of the Scoped list and may not be part of the failed list.
AddScopedLocation
#Add a scoped location to this Plugins instance.
Parameters:
| location (string) | Location to add to scoped list. |
FindFailureInfo
#Find the failure info (if any) associated with the given plugin location.
Parameters:
| location (string) |
FindPlugin
#Find the loaded plugin (if any) associated with the given location.
Parameters:
| location (string) |
IsLocationFailed
#Test whether a specific uri has already failed to load and is now part of the failed list.
Parameters:
| location (string) | Location to test. |
Returns: True if location has already failed.
IsLocationKnown
#Test whether a specific uri is known at all.
Parameters:
| location (string) | Location to test. |
Returns: True if location is either scoped, loaded or failed.
IsLocationLoaded
#Test whether a specific uri is already part of the Loaded Locations list.
Parameters:
| location (string) | Location to test. |
Returns: True if location is already loaded.