C# Класс 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.
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Описание методов

Load() публичный статический Метод

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
Результат void

LoadAll() публичный статический Метод

Loads all plugins from the default plugin folder
Acceptable formats are "*.exe" and "*.dll"
public static LoadAll ( ) : void
Результат void

Unload() публичный статический Метод

Unloads the given plugin and all associated registry entries
public static Unload ( Plugin plugin ) : void
plugin Plugin Plugin to remove
Результат void

Unload() публичный статический Метод

Unloads the given entry from the registry
public static Unload ( RegistryEntry entry ) : void
entry RegistryEntry The entry to remove
Результат void

UnloadAll() публичный статический Метод

Unloads all registry entries and plugins
public static UnloadAll ( ) : void
Результат void