public AppInsightsOperationContext(string title, string description, string query, BladeInfo portalBladeInfo, Rendering renderingProperties, DataTable dataTable)
 {
     this.Title               = title;
     this.Description         = description;
     this.Query               = query;
     this.PortalBladeInfo     = portalBladeInfo;
     this.RenderingProperties = renderingProperties;
     if (dataTable != null && dataTable.Rows.Count > 0)
     {
         this.DataTable = dataTable.ToDataTableResponseObject();
     }
 }
 /// <summary>
 /// This defines the application insights analysis metadata with query that will be executed and rendered in external portal.
 /// </summary>
 /// <param name="title">Application insights analysis title</param>
 /// <param name="description">Application insights analysis description</param>
 /// <param name="query">The query string to run against application insight instance</param>
 /// <param name="portalBladeInfo">The blade to suggest to customer for this analysis</param>
 /// <param name="renderingProperties">The rendering properties to render the application insight query result</param>
 /// <returns>AppInsightsOperationContext Object</returns>
 /// <example>
 public AppInsightsOperationContext(string title, string description, string query, BladeInfo portalBladeInfo, Rendering renderingProperties)
 {
     this.Title               = title;
     this.Description         = description;
     this.Query               = query;
     this.PortalBladeInfo     = portalBladeInfo;
     this.RenderingProperties = renderingProperties;
 }