Метод | Описание | |
---|---|---|
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
|
Метод | Описание | |
---|---|---|
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. |
Результат |
public static Create ( IServiceProvider serviceProvider, IProgressStepFactory stepFactory ) : |
||
serviceProvider | IServiceProvider | Service provider instance. Required. |
stepFactory | IProgressStepFactory | |
Результат |
public GetService ( |
||
serviceType | The type of the requested service | |
Результат | object |
public SequentialProgressController ( IServiceProvider serviceProvider ) : System | ||
serviceProvider | IServiceProvider | Required service provider |
Результат | System |
public Start ( ) : System.Threading.Tasks.Task |
||
Результат | System.Threading.Tasks.Task |