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 |
---|---|---|
System.Collections.Generic.IEnumerable<System.Reflection.ParameterInfo> | parameters | Collection of parameters to be built. |
ParameterBuilderValues | values | Values to use when building params. |
System.Threading.CancellationToken | cancellationToken | Cancellation token used to cancel building |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<ParameterBuildingResult> | Result of the parameters building. |