Photon Server API
Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Attributes | Properties | List of all members
Photon.Hive.Plugin.PluginManager Class Reference
Inheritance diagram for Photon.Hive.Plugin.PluginManager:
Photon.Hive.Plugin.IPluginManager

Public Member Functions

 PluginManager (PluginInfo pluginInfo, string basePath)
 
 PluginManager (string basePath)
 
virtual IPluginInstance GetGamePlugin (IPluginHost sink, string pluginName)
 
void UpdateConfiguration (PluginInfo pluginInfo, string basePath)
 

Static Public Member Functions

static IPluginInstance GetDefaultPlugin (IPluginHost sink)
 
static IPluginInstance GetErrorPlugin (IPluginHost sink, string msg)
 
static Assembly OnAssemblyResolve (object sender, ResolveEventArgs args)
 

Protected Member Functions

 PluginManager ()
 
bool SetupPluginManager (string path, string typeName, Dictionary< string, string > config)
 

Static Protected Attributes

static readonly ILogger Log = LogManager.GetCurrentClassLogger()
 

Properties

bool Initialized [get, protected set]
 
Type Type4Load [get, set]
 
string PluginPath [get]
 
PluginTraits PluginTraits [get]
 
EnvironmentVersion EnvironmentVersion [get]
 

Constructor & Destructor Documentation

Photon.Hive.Plugin.PluginManager.PluginManager ( PluginInfo  pluginInfo,
string  basePath 
)
inline
Photon.Hive.Plugin.PluginManager.PluginManager ( string  basePath)
inline
Photon.Hive.Plugin.PluginManager.PluginManager ( )
inlineprotected

Member Function Documentation

static IPluginInstance Photon.Hive.Plugin.PluginManager.GetDefaultPlugin ( IPluginHost  sink)
inlinestatic
static IPluginInstance Photon.Hive.Plugin.PluginManager.GetErrorPlugin ( IPluginHost  sink,
string  msg 
)
inlinestatic
virtual IPluginInstance Photon.Hive.Plugin.PluginManager.GetGamePlugin ( IPluginHost  sink,
string  pluginName 
)
inlinevirtual
static Assembly Photon.Hive.Plugin.PluginManager.OnAssemblyResolve ( object  sender,
ResolveEventArgs  args 
)
inlinestatic
bool Photon.Hive.Plugin.PluginManager.SetupPluginManager ( string  path,
string  typeName,
Dictionary< string, string >  config 
)
inlineprotected
void Photon.Hive.Plugin.PluginManager.UpdateConfiguration ( PluginInfo  pluginInfo,
string  basePath 
)
inline

Member Data Documentation

readonly ILogger Photon.Hive.Plugin.PluginManager.Log = LogManager.GetCurrentClassLogger()
staticprotected

Property Documentation

EnvironmentVersion Photon.Hive.Plugin.PluginManager.EnvironmentVersion
get
bool Photon.Hive.Plugin.PluginManager.Initialized
getprotected set
string Photon.Hive.Plugin.PluginManager.PluginPath
get
PluginTraits Photon.Hive.Plugin.PluginManager.PluginTraits
get
Type Photon.Hive.Plugin.PluginManager.Type4Load
getset