using System.Collections.Generic; using LinkToolAddin.server; using Newtonsoft.Json; namespace LinkToolAddin.client; public class CallArcGISPro { public static string CallArcGISProTool(Dictionary parameters) { // Call the ArcGIS Pro method and get the result var result = server.CallArcGISPro.CallArcGISProTool(parameters["toolName"], JsonConvert.DeserializeObject>(parameters["toolParams"])); // Serialize the result back to a JSON string return JsonConvert.SerializeObject(result); } }