Ejemplo n.º 1
0
 public static Lazy <T> LazyLast <T>(this IContentQuery <T> contentQuery)
     where T : ContentBase
 {
     contentQuery = contentQuery.Create(new CallExpression(contentQuery.Expression, CallType.Last));
     return(new Lazy <T>(() => contentQuery.Last()));
 }