public void UnregisterPlugin(EncogPluginBase plugin)
{
// is it a special plugin?
// if so, replace with the system, Encog will crash without these
if (plugin == _loggingPlugin)
{
_loggingPlugin = new SystemLoggingPlugin();
}
// remove it
_plugins.Remove(plugin);
}