Method | Description | |
---|---|---|
DiscoverManagedPlugins ( IPluginFactory p_pftFactory, IPluginDiscoverer p_pdvDiscoverer ) : |
Searches for plugins in the specified path, and loads any plugins that are found into a registry.
|
|
GetPlugin ( string p_strPluginPath ) : |
Returns the plugin registered with the given path.
|
|
IsActivatiblePluginFile ( string p_strPath ) : bool |
Determines if the specified file is a plugin that can be activated for the game mode.
|
|
PluginRegistry ( IPluginFactory p_pgfPluginFactory ) : System.Collections.Generic |
A simple constructor that initializes the object with its dependencies.
|
|
RegisterPlugin ( string p_strPluginPath ) : bool |
Registers the specified plugin.
|
|
UnregisterPlugin ( |
Removes the given plugin from the registry.
|
|
UnregisterPlugin ( string p_strPluginPath ) : void |
Removes the specified plugin from the registry.
|
Method | Description | |
---|---|---|
GetEnlistment ( ) : TransactionEnlistment |
Gets an enlistment into the ambient transaction, if one exists.
|
public static DiscoverManagedPlugins ( IPluginFactory p_pftFactory, IPluginDiscoverer p_pdvDiscoverer ) : |
||
p_pftFactory | IPluginFactory | The factory to use to create |
p_pdvDiscoverer | IPluginDiscoverer | The discoverer to use to search for plugins. |
return |
public GetPlugin ( string p_strPluginPath ) : |
||
p_strPluginPath | string | The path of the plugin to return |
return |
public IsActivatiblePluginFile ( string p_strPath ) : bool | ||
p_strPath | string | The path to the file for which it is to be determined if it is a plugin file. |
return | bool |
public PluginRegistry ( IPluginFactory p_pgfPluginFactory ) : System.Collections.Generic | ||
p_pgfPluginFactory | IPluginFactory | The factory to use to create plugins. |
return | System.Collections.Generic |
public RegisterPlugin ( string p_strPluginPath ) : bool | ||
p_strPluginPath | string | The path to the plugin to register. |
return | bool |
public UnregisterPlugin ( |
||
p_plgPlugin | The plugin to unregister. | |
return | void |
public UnregisterPlugin ( string p_strPluginPath ) : void | ||
p_strPluginPath | string | The path to the plugin to unregister. |
return | void |