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:
@@ -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>();
|
||||
//}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user