Méthode | Description | |
---|---|---|
Create ( IServiceProvider serviceProvider ) : |
Creates initializes SequentialProgressController
|
|
Create ( IServiceProvider serviceProvider, IProgressStepFactory stepFactory ) : |
Creates initializes SequentialProgressController
|
|
GetService ( |
Returns the instance of a service for the specified service type
|
|
Initialize ( ) : void |
Initializes the controller with a set of ProgressStepDefinition
|
|
SequentialProgressController ( IServiceProvider serviceProvider ) : System |
Constructs a sequential progress controller
|
|
Start ( ) : System.Threading.Tasks.Task |
Starts executing the initialized steps. The method is not thread safe but can be called from any thread.
|
|
TryAbort ( ) : bool |
Attempts to abort the current operation. In case not started or the operation is not cancellable the abort request will be ignored. CanAbort IsStarted
|
Méthode | Description | |
---|---|---|
ConfigureStepEventListeners ( bool start ) : void | ||
CreateStepOperations ( IEnumerable |
||
Initialize ( IProgressStepFactory factory, IEnumerable |
||
OnCancellableChanged ( bool cancellable ) : void | ||
OnFinished ( ProgressControllerResult result ) : void | ||
OnStarted ( ) : void | ||
OnStepStateChanged ( object sender, |
||
ThreadSafeCancelCancellationTokenSource ( ) : bool | ||
ThreadSafeCreateCancellationTokenSource ( ) : void | ||
ThreadSafeDisposeCancellationTokenSource ( ) : void |
public static Create ( IServiceProvider serviceProvider ) : |
||
serviceProvider | IServiceProvider | Service provider instance. Required. |
Résultat |
public static Create ( IServiceProvider serviceProvider, IProgressStepFactory stepFactory ) : |
||
serviceProvider | IServiceProvider | Service provider instance. Required. |
stepFactory | IProgressStepFactory | |
Résultat |
public GetService ( |
||
serviceType | The type of the requested service | |
Résultat | object |
public SequentialProgressController ( IServiceProvider serviceProvider ) : System | ||
serviceProvider | IServiceProvider | Required service provider |
Résultat | System |
public Start ( ) : System.Threading.Tasks.Task |
||
Résultat | System.Threading.Tasks.Task |