コード例 #1
0
 public string ReflectionAdaptiveCard([FromBody] TaskInfo taskInfo)
 {
     try
     {
         _telemetry.TrackEvent("ReflectionAdaptiveCard");
         CardHelper card   = new CardHelper(_configuration, _telemetry);
         var        data   = card.CreateNewReflect(taskInfo);
         string     output = JsonConvert.SerializeObject(data);
         return(output);
     }
     catch (Exception e)
     {
         _telemetry.TrackEvent("ReflectionAdaptiveCard Exception " + e);
         return(null);
     }
 }