SingleInstance TApplication  ClassDelta Engine Documentation
Checks to make sure that only one instance of this application is running at a time. View code on GitHub
Inheritance Hierarchy

System Object
  DeltaEngine.Editor.Helpers SingleInstance TApplication 

Namespace: DeltaEngine.Editor.Helpers
Assembly: DeltaEngine.Editor (in DeltaEngine.Editor.exe) Version: 1.1.1.0 (1.1.1)
Syntax

public static class SingleInstance<TApplication>
where TApplication : Application, SingleInstanceApp
Type Parameters

TApplication

The SingleInstance TApplication  type exposes the following members.

Methods

  NameDescription
Public methodStatic memberCleanup
Cleans up single-instance code, clearing shared resources, mutexes, etc. View code on GitHub
Public methodStatic memberInitializeAsFirstInstance
Checks if the instance of the application attempting to start is the first instance. If not, activates the first instance. View code on GitHub
Top
Properties

  NameDescription
Public propertyStatic memberCommandLineArgs
Top
See Also