Exemple #1
0
 public async Task SetResponse2(string baseURL, string apiKey,
                                string inputBlob1Location, string inputBlob2Location,
                                string outputBlob1Location, string outputBlob2Location)
 {
     _response = await CalculatorHelpers.InvokeHttpRequestResponseService2(
         _params.ExtensionDocToCalcURI, baseURL, apiKey,
         inputBlob1Location, inputBlob2Location, outputBlob1Location, outputBlob2Location).ConfigureAwait(false);
 }
Exemple #2
0
        public async Task <bool> SetResponse2(string baseURL, string apiKey,
                                              string inputBlob1Location, string inputBlob2Location,
                                              string outputBlob1Location, string outputBlob2Location)
        {
            bool bHasCompleted = false;

            _response = await CalculatorHelpers.InvokeHttpRequestResponseService2(
                _params.ExtensionDocToCalcURI, baseURL, apiKey,
                inputBlob1Location, inputBlob2Location, outputBlob1Location, outputBlob2Location).ConfigureAwait(false);

            bHasCompleted = true;
            return(bHasCompleted);
        }