C# Class FSClient.PluginManagerBase

Inheritance: IDisposable
显示文件 Open project: mitchcapper/FSClient Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
GetPlugins ( ) : IEnumerable
GetSettings ( ) : SettingsPluginDataCollection
LoadPlugins ( ) : void
PluginManagerName ( ) : string
SetPluginEnabled ( bool enabled, PluginData plugin ) : void

Protected Methods

Method Description
HandlePluginLoadException ( PluginData data, Exception e ) : void
HandlePluginLoadReflectionException ( PluginData data, ReflectionTypeLoadException ex ) : void
IsTypeOf ( Type to_check, Type of ) : bool
LoadActualPlugins ( String file_end, Type plugin_type, IEnumerable plugins ) : void
LoadSettings ( SettingsPluginDataCollection settings ) : void
NewPluginData ( String dll ) : PluginData
PluginLoadAddPlugin ( PluginData plugin ) : void
PluginLoadRegisterPlugin ( PluginData plugin ) : void
SetPlugins ( IEnumerable plugins ) : void

Private Methods

Method Description
PluginScan ( ) : void

Method Details

Dispose() public abstract method

public abstract Dispose ( ) : void
return void

GetPlugins() public abstract method

public abstract GetPlugins ( ) : IEnumerable
return IEnumerable

GetSettings() public method

public GetSettings ( ) : SettingsPluginDataCollection
return SettingsPluginDataCollection

HandlePluginLoadException() protected method

protected HandlePluginLoadException ( PluginData data, Exception e ) : void
data PluginData
e System.Exception
return void

HandlePluginLoadReflectionException() protected method

protected HandlePluginLoadReflectionException ( PluginData data, ReflectionTypeLoadException ex ) : void
data PluginData
ex System.Reflection.ReflectionTypeLoadException
return void

IsTypeOf() protected method

protected IsTypeOf ( Type to_check, Type of ) : bool
to_check System.Type
of System.Type
return bool

LoadActualPlugins() protected method

protected LoadActualPlugins ( String file_end, Type plugin_type, IEnumerable plugins ) : void
file_end String
plugin_type System.Type
plugins IEnumerable
return void

LoadPlugins() public abstract method

public abstract LoadPlugins ( ) : void
return void

LoadSettings() protected method

protected LoadSettings ( SettingsPluginDataCollection settings ) : void
settings SettingsPluginDataCollection
return void

NewPluginData() protected abstract method

protected abstract NewPluginData ( String dll ) : PluginData
dll String
return PluginData

PluginLoadAddPlugin() protected abstract method

protected abstract PluginLoadAddPlugin ( PluginData plugin ) : void
plugin PluginData
return void

PluginLoadRegisterPlugin() protected abstract method

protected abstract PluginLoadRegisterPlugin ( PluginData plugin ) : void
plugin PluginData
return void

PluginManagerName() public abstract method

public abstract PluginManagerName ( ) : string
return string

SetPluginEnabled() public method

public SetPluginEnabled ( bool enabled, PluginData plugin ) : void
enabled bool
plugin PluginData
return void

SetPlugins() protected abstract method

protected abstract SetPlugins ( IEnumerable plugins ) : void
plugins IEnumerable
return void