C# Class ARCed.Plugins.Registry

Static class that acts as the interface for storing and invoking plugins. It ensures that all plugins are correctly formatted and searches them for content before adding their entries.
Afficher le fichier Open project: borisblizzard/arcreator

Méthodes publiques

Méthode Description
Load ( string filename ) : void

Loads a a plugin from file. The assembly is searched for useable content and registered with the Editor

LoadAll ( ) : void

Loads all plugins from the default plugin folder

Acceptable formats are "*.exe" and "*.dll"

Unload ( Plugin plugin ) : void

Unloads the given plugin and all associated registry entries

Unload ( RegistryEntry entry ) : void

Unloads the given entry from the registry

UnloadAll ( ) : void

Unloads all registry entries and plugins

Method Details

Load() public static méthode

Loads a a plugin from file. The assembly is searched for useable content and registered with the Editor
public static Load ( string filename ) : void
filename string
Résultat void

LoadAll() public static méthode

Loads all plugins from the default plugin folder
Acceptable formats are "*.exe" and "*.dll"
public static LoadAll ( ) : void
Résultat void

Unload() public static méthode

Unloads the given plugin and all associated registry entries
public static Unload ( Plugin plugin ) : void
plugin Plugin Plugin to remove
Résultat void

Unload() public static méthode

Unloads the given entry from the registry
public static Unload ( RegistryEntry entry ) : void
entry RegistryEntry The entry to remove
Résultat void

UnloadAll() public static méthode

Unloads all registry entries and plugins
public static UnloadAll ( ) : void
Résultat void