Updated all lookups to use new logging system. Updated lookups resolvers to use ManyObjectResolverBase

and are just adding the known resolvers on app startup and commented out the other resolver stuff for now.
Fixed up xpath statement for resolving the first document, site now renders :)
This commit is contained in:
shannon@ShandemVaio
2012-07-30 22:52:59 +06:00
parent 95451e99a7
commit ec22d985ef
23 changed files with 710 additions and 572 deletions

View File

@@ -13,15 +13,15 @@ namespace Umbraco.Web
public static class PluginTypeResolverExtensions
{
/// <summary>
/// Returns all IDocumentLookup types
/// </summary>
/// <param name="resolver"></param>
/// <returns></returns>
internal static IEnumerable<Type> ResolveLookups(this PluginTypeResolver resolver)
{
return resolver.ResolveTypes<IDocumentLookup>();
}
///// <summary>
///// Returns all IDocumentLookup types
///// </summary>
///// <param name="resolver"></param>
///// <returns></returns>
//internal static IEnumerable<Type> ResolveLookups(this PluginTypeResolver resolver)
//{
// return resolver.ResolveTypes<IDocumentLookup>();
//}
}
}