コード例 #1
0
 public async Task SetResponse(string baseURL, string apiKey,
                               string inputBlobLocation, string outputBlobLocation, string rScript)
 {
     _response = await CalculatorHelpers.InvokeHttpRequestResponseService(
         _params.ExtensionDocToCalcURI, baseURL, apiKey,
         inputBlobLocation, outputBlobLocation, rScript).ConfigureAwait(false);
 }
コード例 #2
0
        public async Task <bool> SetResponse(string baseURL, string apiKey,
                                             string inputBlobLocation, string outputBlobLocation, string rScript)
        {
            bool bHasCompleted = false;

            _response = await CalculatorHelpers.InvokeHttpRequestResponseService(
                _params.ExtensionDocToCalcURI, baseURL, apiKey,
                inputBlobLocation, outputBlobLocation, rScript).ConfigureAwait(false);

            bHasCompleted = true;
            return(bHasCompleted);
        }