/// <summary> /// /// </summary> /// <param name="Name"></param> /// <param name="Driver"></param> public void SetDriver(string Name, IHleIoDriver Driver) { //Drivers.Add(Name, Driver); Drivers[Name] = Driver; try { Driver.IoInit(); } catch (Exception Exception) { Console.Error.WriteLine(Exception); } }
/// <summary> /// /// </summary> /// <param name="name"></param> /// <param name="driver"></param> public void SetDriver(string name, IHleIoDriver driver) { //Console.Error.WriteLine("SetDriver: {0}", Name); //Drivers.Add(Name, Driver); Drivers[name] = driver; try { driver.IoInit(); } catch (Exception exception) { Console.Error.WriteLine(exception); } }
public virtual int IoInit() { return(ParentDriver.IoInit()); }