Пример #1
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#:
//ORIGINAL LINE: Object get(org.neo4j.kernel.internal.GraphDatabaseAPI graphDb, ParameterList parameters, String name) throws org.neo4j.server.rest.repr.BadInputException
        internal override object Get(GraphDatabaseAPI graphDb, ParameterList parameters, string name)
        {
            string typeName = parameters.GetString(name);

            if (string.ReferenceEquals(typeName, null))
            {
                return(null);
            }
            return(RelationshipType.withName(typeName));
        }
Пример #2
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#:
//ORIGINAL LINE: Object get(org.neo4j.kernel.internal.GraphDatabaseAPI graphDb, ParameterList parameters, String name) throws org.neo4j.server.rest.repr.BadInputException
        internal override object Get(GraphDatabaseAPI graphDb, ParameterList parameters, string name)
        {
            return(parameters.GetString(name));
        }