I am trying to implement one interface and it has such method
public object GetOrCreate<T>(string key, Func<ICacheEntry, T> func)
{
}
From the method declaration, I find that ICacheEntry
and generic T
type object is passed. Maybe someone could help to understand how to access these two parameters in the method?