예제 #1
0
        internal static DurationValue Build <T1>(IDictionary <T1> input) where T1 : Org.Neo4j.Values.AnyValue
        {
            StructureBuilder <AnyValue, DurationValue> builder = builder();

//JAVA TO C# CONVERTER WARNING: Java wildcard generics have no direct equivalent in .NET:
//ORIGINAL LINE: for (java.util.Map.Entry<String,? extends org.neo4j.values.AnyValue> entry : input.entrySet())
            foreach (KeyValuePair <string, ? extends AnyValue> entry in input.SetOfKeyValuePairs())
            {
                builder.Add(entry.Key, entry.Value);
            }
            return(builder.Build());
        }