예제 #1
0
 public static T ReplaceResourceDescriptorsByQueryable <T>(this T expression, Func <Type, System.Linq.IQueryable> provider, ITypeResolver?typeResolver = null)
     where T : Expression
 => QueryableResourceVisitor.ReplaceResourceDescriptorsByQueryable(expression, provider, typeResolver);
예제 #2
0
 public static Expression ReplaceQueryableByResourceDescriptors(this Expression expression, ITypeInfoProvider?typeInfoProvider = null)
 => QueryableResourceVisitor.ReplaceQueryablesByResourceDescriptors(expression, typeInfoProvider);
예제 #3
0
 public static TExpression ReplaceResourceDescriptorsByQueryable <TExpression, TQueryable>(this TExpression expression, Func <Type, TQueryable> provider, ITypeResolver?typeResolver = null)
     where TExpression : Expression
 => QueryableResourceVisitor.ReplaceResourceDescriptorsByQueryable(expression, provider, typeResolver);