C# 클래스 ZeroInstall.Commands.CliCommands.Selection

Select a version of the program identified by URI, and compatible versions of all of its dependencies.
상속: CliCommand
파일 보기 프로젝트 열기: 0install/0install-win

보호된 프로퍼티들

프로퍼티 타입 설명
CustomizeSelections bool
Selections Selections
SelectionsDocument bool
ShowXml bool

Private Properties

프로퍼티 타입 설명
GetSelectionsOutput string
SolveCallback Selections
TryParseSelectionsDocument void

공개 메소드들

메소드 설명
Execute ( ) : ExitCode
Parse ( IEnumerable args ) : void
Selection ( [ handler ) : System

보호된 메소드들

메소드 설명
RefreshSolve ( ) : void

Run Solve with IFeedManager.Refresh set to true.

SetInterfaceUri ( FeedUri uri ) : void

Sets Requirements.InterfaceUri and applies Requirements options that need to be deferred to the end of the parsing process.

ShowOutput ( ) : ExitCode
ShowSelections ( ) : void

Displays the Selections to the user.

Solve ( ) : void

Runs ISolver.Solve (unless SelectionsDocument is true) and stores the result in Selections.

비공개 메소드들

메소드 설명
GetSelectionsOutput ( ) : string
SolveCallback ( ) : Selections

Run Solve and inform the caller as well as the ICommandHandler of any changes.

TryParseSelectionsDocument ( ) : void

Trys to parse Requirements.InterfaceUri as a pre-computed Selection.Selections document.

메소드 상세

Execute() 공개 메소드

public Execute ( ) : ExitCode
리턴 ExitCode

Parse() 공개 메소드

public Parse ( IEnumerable args ) : void
args IEnumerable
리턴 void

RefreshSolve() 보호된 메소드

Run Solve with IFeedManager.Refresh set to true.
protected RefreshSolve ( ) : void
리턴 void

Selection() 공개 메소드

public Selection ( [ handler ) : System
handler [
리턴 System

SetInterfaceUri() 보호된 메소드

Sets Requirements.InterfaceUri and applies Requirements options that need to be deferred to the end of the parsing process.
protected SetInterfaceUri ( FeedUri uri ) : void
uri FeedUri
리턴 void

ShowOutput() 보호된 메소드

protected ShowOutput ( ) : ExitCode
리턴 ExitCode

ShowSelections() 보호된 메소드

Displays the Selections to the user.
protected ShowSelections ( ) : void
리턴 void

Solve() 보호된 메소드

Runs ISolver.Solve (unless SelectionsDocument is true) and stores the result in Selections.
The user canceled the task. A file could not be downloaded from the internet. An external application or file required by the solver could not be accessed. The was unable to provide a set of that fulfill the .
protected Solve ( ) : void
리턴 void

프로퍼티 상세

CustomizeSelections 보호되어 있는 프로퍼티

Indicates the user wants a UI to modify the Selections.
protected bool CustomizeSelections
리턴 bool

Selections 보호되어 있는 프로퍼티

Cached ISolver results.
protected Selections Selections
리턴 Selections

SelectionsDocument 보호되어 있는 프로퍼티

Indicates the user provided a pre-computed Selections XML document instead of using the ISolver.
protected bool SelectionsDocument
리턴 bool

ShowXml 보호되어 있는 프로퍼티

Indicates the user wants a machine-readable output.
protected bool ShowXml
리턴 bool