C# 클래스 Telemachus.PluginManager

파일 보기 프로젝트 열기: KSP-Telemachus/Telemachus

공개 메소드들

메소드 설명
GetAPIDelegate ( string APIname ) : Func

Scans the registered plugins for one that handles the named API string

PluginManager ( ) : System
Register ( object toRegister ) : void

Registers a plugin API with Telemachus

비공개 메소드들

메소드 설명
Deregister ( PluginHandler handler ) : void

Deregisters an API plugin handler instance via handler reference

ReadCommandList ( object pluginInstance ) : string[]

메소드 상세

GetAPIDelegate() 공개 메소드

Scans the registered plugins for one that handles the named API string
public GetAPIDelegate ( string APIname ) : Func
APIname string The API string to handle, excluding any parameters
리턴 Func

PluginManager() 공개 메소드

public PluginManager ( ) : System
리턴 System

Register() 공개 메소드

Registers a plugin API with Telemachus
public Register ( object toRegister ) : void
toRegister object An instance of a Plugin object, that conforms to the TelemachusPlugin interface. /// NOTE: Does NOT have to be a physical instance of the interface.
리턴 void