// POST: Service/PluginServices/Namespaces public virtual NamespaceList Namespaces(string args, Guid workspaceId, Guid dataListId) { var result = new NamespaceList(); try { var pluginSource = JsonConvert.DeserializeObject <PluginSource>(args); if (pluginSource != null) { var broker = new PluginBroker(); return(broker.GetNamespaces(pluginSource)); } } catch (Exception ex) { RaiseError(ex); } return(result); }
// POST: Service/PluginServices/Namespaces public virtual NamespaceList Namespaces(PluginSource args, Guid workspaceId, Guid dataListId) { var result = new NamespaceList(); try { if (args != null) { var broker = new PluginBroker(); return(broker.GetNamespaces(args)); } } catch (BadImageFormatException e) { RaiseError(e); throw; } catch (Exception ex) { RaiseError(ex); } return(result); }