Show / Hide Table of Contents

Interface IApplication

Application abstraction

Namespace: Neutronium.BuildingBlocks.ApplicationTools
Assembly: Neutronium.BuildingBlocks.ApplicationTools.dll
Syntax
public interface IApplication

Methods

| Improve this Doc View Source

ForceClose()

Close the application without calling the cancellation hooks.

Declaration
void ForceClose()
| Improve this Doc View Source

Restart(String)

Close the application and restart it.

Declaration
void Restart(string commandLineOptions = "")
Parameters
Type Name Description
System.String commandLineOptions

command line to be applied to the restarting application

| Improve this Doc View Source

TryClose()

Try to close the application

Declaration
void TryClose()

Events

| Improve this Doc View Source

Closed

Sent when the main window is closing

Declaration
event EventHandler Closed
Event Type
Type Description
System.EventHandler
| Improve this Doc View Source

MainWindowClosing

Sent when the main window is closing

Declaration
event EventHandler<CancelEventArgs> MainWindowClosing
Event Type
Type Description
System.EventHandler<System.ComponentModel.CancelEventArgs>
| Improve this Doc View Source

SessionEnding

Sent when the session is ending

Declaration
event EventHandler<CancelEventArgs> SessionEnding
Event Type
Type Description
System.EventHandler<System.ComponentModel.CancelEventArgs>
  • Improve this Doc
  • View Source
Back to top Generated by DocFX