This project is read-only.


GetEnumerator() throws NotImplementedException...


...when it could just as easily allow enumeration over all keys and values in the FileCache. Please fix! Unusable till something like this is available.
Closed Feb 8, 2013 at 10:56 PM by adamcarter
Completed as requested.


adamcarter wrote Feb 6, 2013 at 3:45 PM

Saying that FC is unusable might be a little of an overstatement as I regularly use the library in my projects without incident. Furthermore, according to the MSDN, whether or not programmers should actually use GetEnumerator on an ObjectCache seems questionable (see here and here). Nevertheless, I suppose that it wouldn't hurt to have it implemented.

Yet, there still remains the issue of what files to retrieve. My FC implementation doesn't actually track keys, so I'd have to just return the entire directory. However, should this also return sub directories? And what about other cache regions? If you have any insights, please let me know.

wrote Feb 6, 2013 at 9:02 PM

adamcarter wrote Feb 8, 2013 at 10:56 PM

Okay, I gave implementing GetEnumerator a shot shot. Let me know if you have any thoughts.

wrote Feb 8, 2013 at 10:56 PM

wrote Feb 13, 2013 at 11:15 PM

wrote May 16, 2013 at 4:31 AM