C# Class FSClient.PluginManagerBase

Inheritance: IDisposable
Afficher le fichier Open project: mitchcapper/FSClient Class Usage Examples

Méthodes publiques

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

Méthodes protégées

Méthode 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

Méthode Description
PluginScan ( ) : void

Method Details

Dispose() public abstract méthode

public abstract Dispose ( ) : void
Résultat void

GetPlugins() public abstract méthode

public abstract GetPlugins ( ) : IEnumerable
Résultat IEnumerable

GetSettings() public méthode

public GetSettings ( ) : SettingsPluginDataCollection
Résultat SettingsPluginDataCollection

HandlePluginLoadException() protected méthode

protected HandlePluginLoadException ( PluginData data, Exception e ) : void
data PluginData
e System.Exception
Résultat void

HandlePluginLoadReflectionException() protected méthode

protected HandlePluginLoadReflectionException ( PluginData data, ReflectionTypeLoadException ex ) : void
data PluginData
ex System.Reflection.ReflectionTypeLoadException
Résultat void

IsTypeOf() protected méthode

protected IsTypeOf ( Type to_check, Type of ) : bool
to_check System.Type
of System.Type
Résultat bool

LoadActualPlugins() protected méthode

protected LoadActualPlugins ( String file_end, Type plugin_type, IEnumerable plugins ) : void
file_end String
plugin_type System.Type
plugins IEnumerable
Résultat void

LoadPlugins() public abstract méthode

public abstract LoadPlugins ( ) : void
Résultat void

LoadSettings() protected méthode

protected LoadSettings ( SettingsPluginDataCollection settings ) : void
settings SettingsPluginDataCollection
Résultat void

NewPluginData() protected abstract méthode

protected abstract NewPluginData ( String dll ) : PluginData
dll String
Résultat PluginData

PluginLoadAddPlugin() protected abstract méthode

protected abstract PluginLoadAddPlugin ( PluginData plugin ) : void
plugin PluginData
Résultat void

PluginLoadRegisterPlugin() protected abstract méthode

protected abstract PluginLoadRegisterPlugin ( PluginData plugin ) : void
plugin PluginData
Résultat void

PluginManagerName() public abstract méthode

public abstract PluginManagerName ( ) : string
Résultat string

SetPluginEnabled() public méthode

public SetPluginEnabled ( bool enabled, PluginData plugin ) : void
enabled bool
plugin PluginData
Résultat void

SetPlugins() protected abstract méthode

protected abstract SetPlugins ( IEnumerable plugins ) : void
plugins IEnumerable
Résultat void