C# Класс NAPS2.Util.Lifecycle

Helps manage the lifecycle of the NAPS2 GUI.
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
ActivateProcess ( Process process ) : void
GetOtherNaps2Processes ( ) : IEnumerable

Описание методов

ExitIfRedundant() публичный Метод

May terminate the NAPS2 GUI based on the command-line arguments and running processes, sending messages to other processes if appropriate.
public ExitIfRedundant ( ) : void
Результат void

Lifecycle() публичный Метод

public Lifecycle ( StillImage sti, AppConfigManager appConfigManager ) : System
sti StillImage
appConfigManager AppConfigManager
Результат System

ParseArgs() публичный Метод

Parses the NAPS2 GUI command-line arguments.
public ParseArgs ( string args ) : void
args string
Результат void