C# Class NAPS2.Util.Lifecycle

Helps manage the lifecycle of the NAPS2 GUI.
Afficher le fichier Open project: cyanfish/naps2

Méthodes publiques

Méthode Description
ExitIfRedundant ( ) : void

May terminate the NAPS2 GUI based on the command-line arguments and running processes, sending messages to other processes if appropriate.

Lifecycle ( StillImage sti, AppConfigManager appConfigManager ) : System
ParseArgs ( string args ) : void

Parses the NAPS2 GUI command-line arguments.

Private Methods

Méthode Description
ActivateProcess ( Process process ) : void
GetOtherNaps2Processes ( ) : IEnumerable

Method Details

ExitIfRedundant() public méthode

May terminate the NAPS2 GUI based on the command-line arguments and running processes, sending messages to other processes if appropriate.
public ExitIfRedundant ( ) : void
Résultat void

Lifecycle() public méthode

public Lifecycle ( StillImage sti, AppConfigManager appConfigManager ) : System
sti StillImage
appConfigManager AppConfigManager
Résultat System

ParseArgs() public méthode

Parses the NAPS2 GUI command-line arguments.
public ParseArgs ( string args ) : void
args string
Résultat void