/// <summary> /// Creates an instance of <see cref="ExternalVmSandboxedProcess"/>. /// </summary> public ExternalVmSandboxedProcess( SandboxedProcessInfo sandboxedProcessInfo, VmInitializer vmInitializer, ExternalToolSandboxedProcessExecutor tool) : base(sandboxedProcessInfo) { Contract.Requires(vmInitializer != null); Contract.Requires(tool != null); m_vmInitializer = vmInitializer; m_tool = tool; }
/// <summary> /// Creates an instance of <see cref="ExternalVmSandboxedProcess"/>. /// </summary> public ExternalVmSandboxedProcess( SandboxedProcessInfo sandboxedProcessInfo, VmInitializer vmInitializer, ExternalToolSandboxedProcessExecutor tool, string externalSandboxedProcessDirectory) : base(sandboxedProcessInfo, Path.Combine(externalSandboxedProcessDirectory, nameof(ExternalVmSandboxedProcess))) { Contract.Requires(vmInitializer != null); Contract.Requires(tool != null); m_vmInitializer = vmInitializer; m_tool = tool; }
/// <summary> /// Creates an instance of <see cref="ExternalToolSandboxedProcess"/>. /// </summary> public ExternalToolSandboxedProcess(SandboxedProcessInfo sandboxedProcessInfo, ExternalToolSandboxedProcessExecutor tool) : base(sandboxedProcessInfo) { Contract.Requires(tool != null); m_tool = tool; }