Ejemplo n.º 1
0
        public override async Task <ExecutionResult> RunAsync(string input, IChannel channel, CancellationToken cancellationToken)
        {
            var    inputParameters = ParseInputParameters(input, firstParameterInferredName: ParameterNameJobId);
            string jobId           = inputParameters.DecodeParameter <string>(ParameterNameJobId);

            return(await AzureClient.GetJobResultAsync(channel, jobId, cancellationToken));
        }