C# Class FlatRedBall.Glue.Plugins.PluginManagerBase

Afficher le fichier Open project: vchelaru/FlatRedBall Class Usage Examples

Méthodes publiques

Свойство Type Description
HasFinishedInitialization bool

Protected Properties

Свойство Type Description
mError bool
mExternalAssemblies List
mGlobal bool
mGlobalInstance PluginManagerBase
mInstances List
mPluginContainers PluginContainer>.Dictionary
mProjectInstance PluginManagerBase
mReferenceListExternal List
mReferenceListInternal List
mReferenceListLoaded List

Méthodes publiques

Méthode Description
GetGlobal ( ) : PluginManagerBase
GetInstances ( ) : List
GetProject ( ) : PluginManagerBase
LoadPlugins ( string pluginFolderInAppData, List pluginsToIgnore = null ) : bool
PluginManagerBase ( bool global ) : System
RegisterControlForPlugin ( Control control, IPlugin owner ) : void
ShutDownPlugin ( IPlugin pluginToShutDown ) : bool
ShutDownPlugin ( IPlugin pluginToShutDown, PluginShutDownReason shutDownReason ) : bool

Méthodes protégées

Méthode Description
AddDirectoriesForInstance ( List pluginDirectories ) : void
AddDisabledPlugin ( string folder ) : void
AddIfExists ( string absoluteName ) : void
CompilePluginError ( string problem ) : void
CompilePluginOutput ( string problem ) : void
InstantiateAllListsAsEmpty ( ) : void
LoadExternalReferenceList ( string filePath ) : void
LoadReferenceLists ( ) : void
PopulateCatalog ( PluginManagerBase instance, string pluginFolderInAppData, List pluginsToIgnore = null ) : bool
ShouldProcessPluginManager ( PluginCategories pluginCategories, PluginManagerBase pluginManager ) : bool
StartAllPlugins ( List pluginsToIgnore = null ) : void
StartupPlugin ( IPlugin plugin ) : void

Private Methods

Méthode Description
AddPluginsFromDirectory ( List pluginsToIgnore, System.ComponentModel.Composition.Hosting.AggregateCatalog returnValue, string plugin ) : void
CompilePlugin ( string filepath ) : CompilerResults
CreateCatalog ( string folderInAppData, List pluginsToIgnore = null ) : System.ComponentModel.Composition.Hosting.AggregateCatalog
GetPluginDirectories ( string folderInAppData ) : List
GetWhyIsntCompatible ( string filepath ) : string
HandleAddingDynamicallyCompiledPlugin ( System.ComponentModel.Composition.Hosting.AggregateCatalog returnValue, string plugin, CompilerResults compileResult ) : void
HandleAddingPreCompiledPluginInDirectory ( System.ComponentModel.Composition.Hosting.AggregateCatalog returnValue, string pluginDirectory ) : void
IsAssemblyAlreadyReferenced ( string assemblyName ) : bool
currentDomain_AssemblyResolve ( object sender, ResolveEventArgs args ) : Assembly

Method Details

AddDirectoriesForInstance() protected méthode

protected AddDirectoriesForInstance ( List pluginDirectories ) : void
pluginDirectories List
Résultat void

AddDisabledPlugin() protected méthode

protected AddDisabledPlugin ( string folder ) : void
folder string
Résultat void

AddIfExists() protected méthode

protected AddIfExists ( string absoluteName ) : void
absoluteName string
Résultat void

CompilePluginError() protected méthode

protected CompilePluginError ( string problem ) : void
problem string
Résultat void

CompilePluginOutput() protected méthode

protected CompilePluginOutput ( string problem ) : void
problem string
Résultat void

GetGlobal() public static méthode

public static GetGlobal ( ) : PluginManagerBase
Résultat PluginManagerBase

GetInstances() public static méthode

public static GetInstances ( ) : List
Résultat List

GetProject() public static méthode

public static GetProject ( ) : PluginManagerBase
Résultat PluginManagerBase

InstantiateAllListsAsEmpty() protected méthode

protected InstantiateAllListsAsEmpty ( ) : void
Résultat void

LoadExternalReferenceList() protected méthode

protected LoadExternalReferenceList ( string filePath ) : void
filePath string
Résultat void

LoadPlugins() public méthode

public LoadPlugins ( string pluginFolderInAppData, List pluginsToIgnore = null ) : bool
pluginFolderInAppData string
pluginsToIgnore List
Résultat bool

LoadReferenceLists() protected méthode

protected LoadReferenceLists ( ) : void
Résultat void

PluginManagerBase() public méthode

public PluginManagerBase ( bool global ) : System
global bool
Résultat System

PopulateCatalog() protected static méthode

protected static PopulateCatalog ( PluginManagerBase instance, string pluginFolderInAppData, List pluginsToIgnore = null ) : bool
instance PluginManagerBase
pluginFolderInAppData string
pluginsToIgnore List
Résultat bool

RegisterControlForPlugin() public méthode

public RegisterControlForPlugin ( Control control, IPlugin owner ) : void
control System.Windows.Forms.Control
owner IPlugin
Résultat void

ShouldProcessPluginManager() protected static méthode

protected static ShouldProcessPluginManager ( PluginCategories pluginCategories, PluginManagerBase pluginManager ) : bool
pluginCategories PluginCategories
pluginManager PluginManagerBase
Résultat bool

ShutDownPlugin() public static méthode

public static ShutDownPlugin ( IPlugin pluginToShutDown ) : bool
pluginToShutDown IPlugin
Résultat bool

ShutDownPlugin() public static méthode

public static ShutDownPlugin ( IPlugin pluginToShutDown, PluginShutDownReason shutDownReason ) : bool
pluginToShutDown IPlugin
shutDownReason PluginShutDownReason
Résultat bool

StartAllPlugins() protected méthode

protected StartAllPlugins ( List pluginsToIgnore = null ) : void
pluginsToIgnore List
Résultat void

StartupPlugin() protected méthode

protected StartupPlugin ( IPlugin plugin ) : void
plugin IPlugin
Résultat void

Property Details

HasFinishedInitialization public_oe property

public bool HasFinishedInitialization
Résultat bool

mError protected_oe property

protected bool mError
Résultat bool

mExternalAssemblies protected_oe property

protected List mExternalAssemblies
Résultat List

mGlobal protected_oe property

protected bool mGlobal
Résultat bool

mGlobalInstance protected_oe static_oe property

protected static PluginManagerBase,FlatRedBall.Glue.Plugins mGlobalInstance
Résultat PluginManagerBase

mInstances protected_oe static_oe property

protected static List mInstances
Résultat List

mPluginContainers protected_oe property

protected Dictionary mPluginContainers
Résultat PluginContainer>.Dictionary

mProjectInstance protected_oe static_oe property

protected static PluginManagerBase,FlatRedBall.Glue.Plugins mProjectInstance
Résultat PluginManagerBase

mReferenceListExternal protected_oe property

protected List mReferenceListExternal
Résultat List

mReferenceListInternal protected_oe property

protected List mReferenceListInternal
Résultat List

mReferenceListLoaded protected_oe property

protected List mReferenceListLoaded
Résultat List