public void BuildControlVM() { this.ResultControlVM = new ConfigurationControlVM(this.ConfigurationEntries, this.EnableResetAllOption) { CalculateRebootOption = this.AllowReboot, ConfigurationDescription = this .ConfigurationDescription }; }
public virtual void Process(GetUCStepPipelineArgs args) { ConfigurationControlVM contentVM = args.ConfigurationConstructInfo.ResultControlVM; Assert.IsNotNull(contentVM, "Content VM can't be null at this stage"); ICommand command = contentVM.ResetAll; WindowWithBackStateConstructInfo stateInfo = args.StateConstructInfo; if (stateInfo.StateSpecificHelpActions == null) { stateInfo.StateSpecificHelpActions = new List <ActionCommandVM>(); } stateInfo.StateSpecificHelpActions.Add(new ActionCommandVM(command, "Reset setting values")); }