protected sealed override object getValue() { var processStartInfo = new ProcessStartInfo(); if (FileName != null) { processStartInfo.FileName = FileName.GetValue(); } if (Arguments != null) { processStartInfo.Arguments = Arguments.GetValue(); } if (CreateNoWindow != null) { processStartInfo.CreateNoWindow = CreateNoWindow.GetValue(); } if (UseShellExecute != null) { processStartInfo.UseShellExecute = UseShellExecute.GetValue(); } if (RedirectStandardInput != null) { processStartInfo.RedirectStandardInput = RedirectStandardInput.GetValue(); } if (RedirectStandardOutput != null) { processStartInfo.RedirectStandardOutput = RedirectStandardOutput.GetValue(); } if (RedirectStandardError != null) { processStartInfo.RedirectStandardError = RedirectStandardError.GetValue(); } if (Domain != null) { processStartInfo.Domain = Domain.GetValue(); } if (UserName != null) { processStartInfo.UserName = UserName.GetValue(); } if (Password != null) { processStartInfo.Password = Password.GetValue(); } if (ErrorDialog != null) { processStartInfo.ErrorDialog = ErrorDialog.GetValue(); } if (ErrorDialogParentHandle != null) { processStartInfo.ErrorDialogParentHandle = ErrorDialogParentHandle.GetValue(); } if (LoadUserProfile != null) { processStartInfo.LoadUserProfile = LoadUserProfile.GetValue(); } if (PasswordInClearText != null) { processStartInfo.PasswordInClearText = PasswordInClearText.GetValue(); } if (StandardOutputEncoding != null) { processStartInfo.StandardOutputEncoding = StandardOutputEncoding.GetValue(); } if (StandardErrorEncoding != null) { processStartInfo.StandardErrorEncoding = StandardErrorEncoding.GetValue(); } if (Verb != null) { processStartInfo.Verb = Verb.GetValue(); } if (WindowStyle != null) { processStartInfo.WindowStyle = WindowStyle.GetValue(); } if (WorkingDirectory != null) { processStartInfo.WorkingDirectory = WorkingDirectory.GetValue(); } return(processStartInfo); }