public void SyncState(Serializer ser) { ser.Sync("_connected", ref _connected); _device?.SyncState(ser); }
public void SyncState(Serializer ser) { ser.Sync(nameof(_connected), ref _connected); _device?.SyncState(ser); }