Hi,
It will be useful to return all keys stored in caching mechanism. For example, to list them in a screen and having Forget, refresh etc. commands.
I have for now a list which manages entries in the cache, but this is redundant and may lead to inconsistencies and extra checks all the time. A function GetAllKeys will be very useful.
UPDATE
I get the list of the keys via reflection, but, of course, is just a hack. A proper public method, eventually returning more info, such as expiration date/time, is expired etc. is more than welcome.
Thanks,
Ion
Hi,
It will be useful to return all keys stored in caching mechanism. For example, to list them in a screen and having Forget, refresh etc. commands.
I have for now a list which manages entries in the cache, but this is redundant and may lead to inconsistencies and extra checks all the time. A function GetAllKeys will be very useful.
UPDATE
I get the list of the keys via reflection, but, of course, is just a hack. A proper public method, eventually returning more info, such as expiration date/time, is expired etc. is more than welcome.
Thanks,
Ion