A class to store Process configuration information.
public class ProcessConfiguration : IEquatable<ProcessConfiguration>
The type is directly constructible via an object initialiser, with init-only properties and a required TargetFilePath. Direct construction carries the same semantics as the convenience constructor: every property defaults to the value documented on the property, and init-time validation runs on TargetFilePath and WorkingDirectoryPath.
kind:method, kind:property, kind:ctor. Press Esc to clear.ProcessConfiguration()Initialises a new instance of the ProcessConfiguration class with all properties taking the defaults documented on the corresponding properties.ProcessConfiguration(String, IEnumerable<String>, Boolean)Initialises a new instance of the ProcessConfiguration class with the target file path, an argument list, and an output redirection setting; all other properties take the defaults documented on the corresponding properties.ProcessConfiguration(String, String, Boolean)Initialises a new instance of the ProcessConfiguration class with the target file path, arguments, and output redirection setting; all other properties take the defaults documented on the corresponding properties.ArgumentListAn optional verbatim argument list. When non-empty, the control adapter emits these via instead of the single Arguments string, so the operating-system command-line parser passes each entry to the child process unmodified. If both Arguments and ArgumentList are set, ArgumentList takes precedence and Arguments is ignored. This is the safe path for shell wrappers (PowerShell/cmd), whose own parser would otherwise re-interpret a single re-tokenized Arguments string, a command-injection vector.ArgumentsThe arguments to be provided to the executable to be run.CredentialThe credential to be used when executing the Command.EnvironmentVariablesThe environment variables to be set.OutputRedirectionWhether to redirect process Standard Output and Error.RedirectStandardInputWhether to redirect the Standard Input.RequiresAdministratorWhether administrator privileges should be used when executing the Command.ResourcePolicyThe Process Resource Policy to be used for executing the Command.StandardErrorEncodingThe encoding to use for the Standard Error.StandardInputThe Standard Input source to redirect Standard Input to if configured.StandardInputEncodingThe encoding to use for the Standard Input.StandardOutputEncodingThe encoding to use for the Standard Output.TargetFilePathThe file path of the executable to be run and wrapped.UseShellExecutionWhether to use Shell Execution or not when executing the Command.WindowCreationWhether to enable window creation or not when the Command's Process is run.WorkingDirectoryPathThe working directory path to be used when executing the Command.Equals(ProcessConfiguration?, ProcessConfiguration?)Determines if a Process configuration is equal to another Process configuration.Equals(ProcessConfiguration?)Determines if a Process configuration is equal to another Process configuration.Equals(Object?)Determines if a Process configuration is equal to another object.GetHashCode()Returns the hash code for the current ProcessConfiguration.ToString()Returns a string representation of the Command configuration.Equality(ProcessConfiguration?, ProcessConfiguration?)Determines if a Process configuration is equal to another Process configuration.Inequality(ProcessConfiguration?, ProcessConfiguration?)Determines if a Process Configuration is not equal to another Process configuration.