C# Class ZeroInstall.OneGet.OneGetContext

Provides an execution context for handling a single OneGet Request.
Inheritance: CommandBase, IOneGetContext
Datei anzeigen Open project: 0install/0install-win

Private Properties

Property Type Description
ApplyIntegration void
ApplyVersionRestrictions void
CatalogSearch void
DeployInstance string
GetCatalogResults IEnumerable
Install void
MirrorSearch void
ParseReference Requirements
Solve Selections
Yield void

Public Methods

Method Description
AddPackageSource ( string uri ) : void
Dispose ( ) : void
DownloadPackage ( string fastPackageReference, string location ) : void
FindPackage ( string name, string requiredVersion, string minimumVersion, string maximumVersion ) : void
FindPackageBy ( string identifier ) : void
GetInstalledPackages ( string name ) : void
GetPackageDetails ( string fastPackageReference ) : void
InstallPackage ( string fastPackageReference ) : void
OneGetContext ( [ request ) : System

Creates a new OneGet command.

RemovePackageSource ( string uri ) : void
ResolvePackageSources ( ) : void
UninstallPackage ( string fastPackageReference ) : void

Private Methods

Method Description
ApplyIntegration ( Requirements requirements ) : void
ApplyVersionRestrictions ( Requirements requirements, Selections selections ) : void
CatalogSearch ( [ name, [ versionRange ) : void
DeployInstance ( bool machineWide ) : string

Deploys a Zero Install instance to this machine.

GetCatalogResults ( [ query ) : IEnumerable
Install ( Requirements requirements ) : void
MirrorSearch ( [ name, [ versionRange ) : void
ParseReference ( string fastPackageReference ) : Requirements
Solve ( Requirements requirements ) : Selections
Yield ( [ requirements, [ feed = null, [ implementation = null ) : void

Method Details

AddPackageSource() public method

public AddPackageSource ( string uri ) : void
uri string
return void

Dispose() public method

public Dispose ( ) : void
return void

DownloadPackage() public method

public DownloadPackage ( string fastPackageReference, string location ) : void
fastPackageReference string
location string
return void

FindPackage() public method

public FindPackage ( string name, string requiredVersion, string minimumVersion, string maximumVersion ) : void
name string
requiredVersion string
minimumVersion string
maximumVersion string
return void

FindPackageBy() public method

public FindPackageBy ( string identifier ) : void
identifier string
return void

GetInstalledPackages() public method

public GetInstalledPackages ( string name ) : void
name string
return void

GetPackageDetails() public method

public GetPackageDetails ( string fastPackageReference ) : void
fastPackageReference string
return void

InstallPackage() public method

public InstallPackage ( string fastPackageReference ) : void
fastPackageReference string
return void

OneGetContext() public method

Creates a new OneGet command.
public OneGetContext ( [ request ) : System
request [ The OneGet request callback object.
return System

RemovePackageSource() public method

public RemovePackageSource ( string uri ) : void
uri string
return void

ResolvePackageSources() public method

public ResolvePackageSources ( ) : void
return void

UninstallPackage() public method

public UninstallPackage ( string fastPackageReference ) : void
fastPackageReference string
return void