Method | Description | |
---|---|---|
CreateToken ( bool delayedLaunch = false ) : |
Creates a token for a dependent activity that will use the current monitor's topic. By default, a line with ActivityMonitor.Tags.CreateDependentActivity is logged that describes the creation of the token. If delayedLaunch is true, the actual launch of the dependent activity must be signaled thanks to Launch(ActivityMonitor.DependentToken) (otherwise there will be no way to bind the two activities).
|
|
CreateTokenWithTopic ( string dependentTopic, bool delayedLaunch = false ) : |
Creates a token for a dependent activity that will be bound to a specified topic (or that will not change the dependent monitor's topic if null is specified).
|
|
Launch ( Action |
Launches one or more dependent activities (thanks to a delegate) that will use the current monitor's topic. This creates a new ActivityMonitor.DependentToken and opens a group that wraps the execution of the dependentLauncher.
|
|
Launch ( |
Signals the launch of one or more dependent activities by emitting a log line that describes the token. The token must have been created by CreateToken or CreateTokenWithTopic with a true delayedLaunch parameter otherwise an InvalidOperationException is thrown.
|
|
LaunchWithTopic ( Action |
Launches one or more dependent activities (thanks to a delegate) that will be bound to a specified topic (or that will not change the dependent monitor's topic if null is specified). This creates a new ActivityMonitor.DependentToken and opens a group that wraps the execution of the dependentLauncher.
|
Method | Description | |
---|---|---|
DependentSender ( IActivityMonitor m, string f, int n ) : System |
public CreateToken ( bool delayedLaunch = false ) : |
||
delayedLaunch | bool | True to use |
return |
public CreateTokenWithTopic ( string dependentTopic, bool delayedLaunch = false ) : |
||
dependentTopic | string | Topic for the dependent activity. Use null to not change the dependent monitor's topic. |
delayedLaunch | bool | True to use |
return |
public Launch ( Action |
||
dependentLauncher | Action |
Must create and launch dependent activities that should use the created token. |
return | void |
public Launch ( |
||
token | Dependent token. | |
return | void |
public LaunchWithTopic ( Action |
||
dependentLauncher | Action |
Must create and launch dependent activities that should use the created token. |
dependentTopic | string | Topic for the dependent activity. When null, the dependent monitor's topic is not changed. |
return | void |