Method | 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.
|
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Method | 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.
|
public ListenForArgumentsFromSuccessiveInstances ( ) : void | ||
return | void |
public PassArgumentsToFirstInstance ( String arguments ) : System.Boolean | ||
arguments | String | The arguments to pass. |
return | System.Boolean |
public SingleInstance ( System.Guid identifier ) : System | ||
identifier | System.Guid | An identifier unique to this application. |
return | System |