IStepBuilder
Namespace: JoaLauncher.Api
Is used to Build a new Step. A Step Containt Providers
public interface IStepBuilder
Methods
IStepBuilder AddProvider<T>() where T : IProvider
Can be used to add a Provider without a ProviderContext to the Step.
Returns
Type | Description |
---|---|
JoaLauncher.Api.IStepBuilder | The StepBuilder |
IStepBuilder AddProvider<TProvider, TContext>(TContext providerContext) where TProvider : IProvider<TContext>
Can be used to add a Provider with a ProviderContext to the Step.
Parameters
Name | Description |
---|---|
<TContext> providerContext | The ProviderContext used to instantiate the Provider |
Returns
Type | Description |
---|---|
JoaLauncher.Api.IStepBuilder | The StepBuilder |
IStepBuilder WithOptions(StepOptions stepOptions)
Configures the step with the provided options
Parameters
Name | Description |
---|---|
JoaLauncher.Api.StepOptions stepOptions |
Returns
Type | Description |
---|---|
JoaLauncher.Api.IStepBuilder |