Interface IParameterBuilder
Utility for building parameters when invoking a command method.
Namespace: TehGM.Wolfringo.Commands.Parsing
Assembly: Wolfringo.Commands.dll
Syntax
public interface IParameterBuilder
Methods
| Improve this Doc View SourceBuildParamsAsync(IEnumerable<ParameterInfo>, ParameterBuilderValues, CancellationToken)
Builds parameters.
Declaration
Task<ParameterBuildingResult> BuildParamsAsync(IEnumerable<ParameterInfo> parameters, ParameterBuilderValues values, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<ParameterInfo> | parameters | Collection of parameters to be built. |
ParameterBuilderValues | values | Values to use when building params. |
CancellationToken | cancellationToken | Cancellation token used to cancel building |
Returns
Type | Description |
---|---|
Task<ParameterBuildingResult> | Result of the parameters building. |