Method | Description | |
---|---|---|
Dispose ( ) : void | ||
ListenForArgumentsFromSuccessiveInstances ( ) : void |
Listens for arguments being passed from successive instances of the applicaiton.
|
|
PassArgumentsToFirstInstance ( string arguments ) : bool |
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 ) : bool | ||
arguments | string | The arguments to pass. |
return | bool |
public SingleInstance ( System.Guid identifier ) : System | ||
identifier | System.Guid | An identifier unique to this application. |
return | System |