Example #1
0
 public static Lazy <T> LazyFirst <T>(this IContentQuery <T> contentQuery)
     where T : ContentBase
 {
     contentQuery = contentQuery.Create(new CallExpression(contentQuery.Expression, CallType.First));
     return(new Lazy <T>(() => contentQuery.First()));
 }