public ReadWriteValue(ReadWriteValue <T> value) { Expected = value.Expected; Actual = value.Actual; Register = value.Register; }
public void ReadTo <T>(ReadWriteValue <T> value, bool silent = false) { ThrowIfValueNull(value); value.Register = _register; _writer.Read(_unit, value, _source, silent); }
public void Initialize <T>(ReadWriteValue <T> value) { ThrowIfValueNull(value); ReadTo(value); value.Expected = value.Actual; }
public void WriteTo <T>(ReadWriteValue <T> value) { value.Register = _register; _writer.Write(_unit, value, _source); }