Example #1
0
 /// <summary>
 /// Fluent API for read callback registration. For description see <see cref="WordRegister.DefineReadCallback"/>.
 /// </summary>
 /// <returns>This register with a defined callback.</returns>
 public static WordRegister WithReadCallback(this WordRegister register, Action <ushort, ushort> readCallback)
 {
     register.DefineReadCallback(readCallback);
     return(register);
 }