Zero Install .NET API 2.20.0
ZeroInstall.Services.Executors.Executor Class Reference

Executes a Selections document as a program using dependency injection. More...

Inheritance diagram for ZeroInstall.Services.Executors.Executor:
ZeroInstall.Services.Executors.IExecutor

Public Member Functions

Process? Start (Selections selections)
 Starts a program as described by a Selections document. More...
 
IEnvironmentBuilder Inject (Selections selections, string? overrideMain=null)
 Starts building an execution environment for a Selections document. More...
 

Detailed Description

Executes a Selections document as a program using dependency injection.

This class is immutable and thread-safe.

Member Function Documentation

◆ Inject()

IEnvironmentBuilder ZeroInstall.Services.Executors.Executor.Inject ( Selections  selections,
string?  overrideMain = null 
)

Starts building an execution environment for a Selections document.

Implements ZeroInstall.Services.Executors.IExecutor.

◆ Start()

Process? ZeroInstall.Services.Executors.Executor.Start ( Selections  selections)

Starts a program as described by a Selections document.

Implements ZeroInstall.Services.Executors.IExecutor.


The documentation for this class was generated from the following file: