MethodCache
MethodCache copied to clipboard
Add array values arguments of methods for cache-key generation
Hello, Cache-key don't support array values :
Example : public object[] TestMethod(object[] parameters) { return parameters; }
The result is the same whatever the values contained in the array : CollectionAssert.AreNotEquivalent(classTest.Method3(new object[] { 1, 2 }), classTest.Method3(new object[] { 2, 1 })); => The result is always object[] { 1, 2 }
Best regards,