public object GetOrAdd(WeakKeyDictionary <object, object, object, int, object> d, Tuple <object, object, object, int> k, object v) { return(d.GetOrAdd(k.Item1, k.Item2, k.Item3, k.Item4, v)); }
public object GetOrAdd(WeakKeyDictionary <object, object, object, int, object> d, Tuple <object, object, object, int> k, Func <Tuple <object, object, object, int>, object> valueFactory) { return(d.GetOrAdd(k.Item1, k.Item2, k.Item3, k.Item4, (kp1, kp2, kp3, kp4) => valueFactory(Tuple.Create(kp1, kp2, kp3, kp4)))); }