private void DomeParametersUpdated(DomeParametersUpdatedMessage action) { // Make sure that we update the Parameters on the U/I thread. Task.Factory.StartNew(() => Parameters = action.Parameters, CancellationToken.None, TaskCreationOptions.None, Globals.UISyncContext); }
private void UpdateParameters(DomeParametersUpdatedMessage action) { SetParameters(action.Parameters); }