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.
Show file Open project: borisblizzard/arcreator

Public Methods

Method 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 method

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
return void

LoadAll() public static method

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

Unload() public static method

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

Unload() public static method

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

UnloadAll() public static method

Unloads all registry entries and plugins
public static UnloadAll ( ) : void
return void