Interface IGorgonGamingDeviceDriverFactory
A factory used to load gaming device drivers.
Namespace: Gorgon.Input
Assembly: Gorgon.Input.dll
Syntax
public interface IGorgonGamingDeviceDriverFactory
Methods
| Edit this page View SourceLoadAllDrivers(string)
Function to load all drivers from the plug in assemblies that are currently loaded.
Declaration
IReadOnlyList<IGorgonGamingDeviceDriver> LoadAllDrivers(string assemblyPath)
Parameters
Type | Name | Description |
---|---|---|
string | assemblyPath | The path to the assembly containing the gaming driver plug ins. |
Returns
Type | Description |
---|---|
IReadOnlyList<IGorgonGamingDeviceDriver> | A read only list containing an instance of each driver. |
LoadDriver(string, string)
Function to load a gaming device driver from any loaded plug in assembly.
Declaration
IGorgonGamingDeviceDriver LoadDriver(string assemblyPath, string driverType)
Parameters
Type | Name | Description |
---|---|---|
string | assemblyPath | The path to the assembly containing the gaming driver plug ins. |
string | driverType | The fully qualified type name of the driver to load. |
Returns
Type | Description |
---|---|
IGorgonGamingDeviceDriver | The gaming device driver plug in. |