Exemplo n.º 1
0
        private void logResponse(ResponseBase response)
        {
            var responseText    = response == null ? null : response.ToString();
            var responseAct     = response == null ? null : response.GetDialogActRepresentation();
            var responseActJson = response == null ? null : response.GetDialogAct();

            _infoCall.ReportParameter("response", responseText);
            _infoCall.ReportParameter("response_act", responseAct);
            _infoCall.ReportParameter("response_act_json", responseActJson);

            _infoCall.SaveReport();
        }