Méthode | Description | |
---|---|---|
Dispose ( ) : void | ||
ListenForArgumentsFromSuccessiveInstances ( ) : void |
Listens for arguments being passed from successive instances of the applicaiton.
|
|
PassArgumentsToFirstInstance ( String arguments ) : System.Boolean |
Passes the given arguments to the first running instance of the application.
|
|
SingleInstance ( System.Guid identifier ) : System |
Enforces single instance for an application.
|
Méthode | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Méthode | Description | |
---|---|---|
CallOnArgumentsReceived ( Object state ) : void |
Calls the OnArgumentsReceived method casting the state Object to String[].
|
|
ListenForArguments ( Object state ) : void |
Listens for arguments on a named pipe.
|
|
OnArgumentsReceived ( String arguments ) : void |
Fires the ArgumentsReceived event.
|
protected Dispose ( bool disposing ) : void | ||
disposing | bool | |
Résultat | void |
public ListenForArgumentsFromSuccessiveInstances ( ) : void | ||
Résultat | void |
public PassArgumentsToFirstInstance ( String arguments ) : System.Boolean | ||
arguments | String | The arguments to pass. |
Résultat | System.Boolean |
public SingleInstance ( System.Guid identifier ) : System | ||
identifier | System.Guid | An identifier unique to this application. |
Résultat | System |