public static Lazy <T> LazyLastOrDefault <T>(this IContentQuery <T> contentQuery) where T : ContentBase { contentQuery = contentQuery.Create(new CallExpression(contentQuery.Expression, CallType.LastOrDefault)); return(new Lazy <T>(() => contentQuery.LastOrDefault())); }