Exemplo n.º 1
0
 public WriteLoggingWrapper(IBusPeripheral peripheral, Action <long, T> originalMethod) : base(peripheral, originalMethod, null, null)
 {
     mapper = new RegisterMapper(peripheral.GetType());
 }
Exemplo n.º 2
0
 public ReadLoggingWrapper(IBusPeripheral peripheral, Func <long, T> originalMethod) :
     base(peripheral, originalMethod)
 {
     mapper = new RegisterMapper(peripheral.GetType());
 }