Dev2.Runtime.ESB.Management.Services.SettingsWrite.ExecuteService C# (CSharp) Method

ExecuteService() static private method

static private ExecuteService ( IWorkspace theWorkspace, IEsbManagementEndpoint service, string valuesKey, object valuesValue ) : string
theWorkspace IWorkspace
service IEsbManagementEndpoint
valuesKey string
valuesValue object
return string
        static string ExecuteService(IWorkspace theWorkspace, IEsbManagementEndpoint service, string valuesKey, object valuesValue)
        {
            Dev2JsonSerializer serializer = new Dev2JsonSerializer();
            var values = new Dictionary<string, StringBuilder> { { valuesKey, serializer.SerializeToBuilder(valuesValue) } };
            return service.Execute(values, theWorkspace).ToString();
        }