Ejemplo n.º 1
0
        /// <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;
        }
Ejemplo n.º 2
0
        /// <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;
        }
Ejemplo n.º 3
0
 /// <summary>
 /// Creates an instance of <see cref="ExternalToolSandboxedProcess"/>.
 /// </summary>
 public ExternalToolSandboxedProcess(SandboxedProcessInfo sandboxedProcessInfo, ExternalToolSandboxedProcessExecutor tool)
     : base(sandboxedProcessInfo)
 {
     Contract.Requires(tool != null);
     m_tool = tool;
 }