コード例 #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)
        {
            string[] strings = parameters.GetStringList(name);
            if (strings == null)
            {
                return(null);
            }
            RelationshipType[] result = new RelationshipType[strings.Length];
            for (int i = 0; i < result.Length; i++)
            {
                result[i] = RelationshipType.withName(strings[i]);
            }
            return(result);
        }
コード例 #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.GetStringList(name));
        }