C# Class xZune.Bass.PluginManager

Bass plug-in manager.
显示文件 Open project: higankanshi/xZune.Bass

Public Methods

Method Description
FreePlugin ( BassPlugin plugin ) : void

Free a Bass plug-in.

FreePlugin ( Plugin plugin ) : void

Free a Bass plug-in.

GetPlugin ( BassPlugin plugin ) : Plugin

Find a loaded plug-in, if it not loaded, null will be returned.

IsPluginLoaded ( BassPlugin plugin ) : bool

Get a bool value to check a plug-in is loaded or not.

LoadPlugin ( BassPlugin plugin ) : Plugin

Load a bass plug-in, it will auto find plug-in DLL file.

LoadPlugin ( BassPlugin plugin, string path ) : Plugin

Load a bass plug-in with a DLL path or directory.

Private Methods

Method Description
AddPlugin ( Plugin plugin ) : void
RemovePlugin ( Plugin plugin ) : void

Method Details

FreePlugin() public static method

Free a Bass plug-in.
public static FreePlugin ( BassPlugin plugin ) : void
plugin BassPlugin Bass plug-in object.
return void

FreePlugin() public static method

Free a Bass plug-in.
public static FreePlugin ( Plugin plugin ) : void
plugin Plugin Bass plug-in object.
return void

GetPlugin() public static method

Find a loaded plug-in, if it not loaded, null will be returned.
public static GetPlugin ( BassPlugin plugin ) : Plugin
plugin BassPlugin Plug-in type.
return Plugin

IsPluginLoaded() public static method

Get a bool value to check a plug-in is loaded or not.
public static IsPluginLoaded ( BassPlugin plugin ) : bool
plugin BassPlugin Plug-in type.
return bool

LoadPlugin() public static method

Load a bass plug-in, it will auto find plug-in DLL file.
public static LoadPlugin ( BassPlugin plugin ) : Plugin
plugin BassPlugin Plug-in type.
return Plugin

LoadPlugin() public static method

Load a bass plug-in with a DLL path or directory.
public static LoadPlugin ( BassPlugin plugin, string path ) : Plugin
plugin BassPlugin Plug-in type.
path string Plug-in DLL path or directory.
return Plugin