C# Class ZeroInstall.OneGet.OneGetHandler

Manages communication between ITasks and a OneGet Request.
Inheritance: NanoByte.Common.Tasks.CliTaskHandler
Afficher le fichier Open project: 0install/0install-win Class Usage Examples

Méthodes publiques

Méthode Description
Error ( Exception exception ) : void
OneGetHandler ( Request request ) : System
RunTask ( ITask task ) : void

Méthodes protégées

Méthode Description
Ask ( string question, MsgSeverity severity ) : bool
LogHandler ( LogSeverity severity, string message ) : void

Outputs Log messages using the OneGet Request object.

Method Details

Ask() protected méthode

protected Ask ( string question, MsgSeverity severity ) : bool
question string
severity MsgSeverity
Résultat bool

Error() public méthode

public Error ( Exception exception ) : void
exception System.Exception
Résultat void

LogHandler() protected méthode

Outputs Log messages using the OneGet Request object.
protected LogHandler ( LogSeverity severity, string message ) : void
severity LogSeverity The type/severity of the entry.
message string The message text of the entry.
Résultat void

OneGetHandler() public méthode

public OneGetHandler ( Request request ) : System
request PackageManagement.Sdk.Request
Résultat System

RunTask() public méthode

public RunTask ( ITask task ) : void
task ITask
Résultat void