Interface IGuardApplicationStart
Represents an interface for guarding an application start.
Namespace: Loehnert.Lisrt.Contracts
Assembly: Loehnert.Lisrt.dll
Syntax
public interface IGuardApplicationStart
Methods
CanStartApplication()
Gets a value indicating whether a new instance can be started.
Declaration
bool CanStartApplication()
Returns
Type | Description |
---|---|
Boolean | A value indicating whether a new instance can be started. |
OnApplicationCannotStart()
Executed when application cannot started.
Declaration
void OnApplicationCannotStart()