Obsoletes umbraco.presentation.cache with new Umbraco.Core.CacheRefreshersResolver

Have removed ResolverBase as we cannot rely on manually setting the current singleton object since applications outside of the standard umbraco web application
might be using these singletons and would expect they already be setup. Have changed all current resolvers to manage their
own singleton instances and sealed them.
This commit is contained in:
shannon@ShandemVaio
2012-08-01 09:49:10 +06:00
parent ddc2619511
commit a0a99e8f12
24 changed files with 467 additions and 327 deletions

View File

@@ -44,15 +44,5 @@ namespace Umbraco.Web
{
return resolver.ResolveAttributedTypes<XsltExtensionAttribute>();
}
/// <summary>
/// Returns all classes attributed with XsltExtensionAttribute attribute
/// </summary>
/// <param name="resolver"></param>
/// <returns></returns>
internal static IEnumerable<Type> ResolveCacheRefreshers(this PluginTypeResolver resolver)
{
return resolver.ResolveTypes<ICacheRefresher>();
}
}
}