This question is locked. New answers and comments are not allowed.
After Update from Telerik.Web.MVC Version 2010-2 to Telerik.Web.MVC Version 2011-2 for MVC 2 I get an error.
The error states that CacheBase (and GetOrCreate) cannot be found.
Thanks in advance for any help.
Herer is a code snippet:
The error states that CacheBase (and GetOrCreate) cannot be found.
Thanks in advance for any help.
Herer is a code snippet:
using Telerik.Web.Mvc.Extensions;using Telerik.Web.Mvc.Infrastructure;class PropertyCache : CacheBase<string, PropertyInfo>{public PropertyInfo GetProperty(Type type, string key){Guard.IsNotNull(type, "type");Guard.IsNotNullOrEmpty(key, "key");Func<PropertyInfo, bool> canInclude = property => CreateMatchingGet(property)();return GetOrCreate(key, () => { return type.GetProperty(key, BindingFlags.Public | BindingFlags.Static | BindingFlags.GetProperty); });}