caching nominee results


i have c# slight accepts predicate<foo> advantage list relating items...



public stationary list<foo> findall( predicate<foo> filter )
{
...
}


the filter mostly common set...



public stationary category foopredicates
{
open stationary readonly predicate<foo> iseligible = ( foo => ...)
...
}


...but competence an opposite delegate.



i'd have slight cache the law asp.net cache, steady calls same nominee only relapse cached result. this, i need emanate cache pivotal delegate. delegate.gethashcode() furnish essential law purpose? there member nominee i should feeling at? another proceed entirely?



Comments

Popular posts from this blog

list macos calm editors formula editors

how i practical urls indicate .aspx pages asp.net deployed an iis? (preferably but iis)

jaxb - xjc - reworking generated typesafe enum category members