Esempio n. 1
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#:
//ORIGINAL LINE: Object[] getList(org.neo4j.kernel.internal.GraphDatabaseAPI graphDb, ParameterList parameters, String name) throws org.neo4j.server.rest.repr.BadInputException
        internal override object[] GetList(GraphDatabaseAPI graphDb, ParameterList parameters, string name)
        {
            URI[] uris = parameters.GetUriList(name);
            URL[] urls = new URL[uris.Length];
            try
            {
                for (int i = 0; i < urls.Length; i++)
                {
                    urls[i] = uris[i].toURL();
                }
            }
            catch (MalformedURLException e)
            {
                throw new BadInputException(e);
            }
            return(urls);
        }
Esempio n. 2
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#:
//ORIGINAL LINE: Object[] getList(org.neo4j.kernel.internal.GraphDatabaseAPI graphDb, ParameterList parameters, String name) throws org.neo4j.server.rest.repr.BadInputException
        internal override object[] GetList(GraphDatabaseAPI graphDb, ParameterList parameters, string name)
        {
            return(parameters.GetUriList(name));
        }