Exemple #1
0
 public static GCXU <T2> GCXU11 <T1, T2>(Func <Func <TExArgCtx, TEx <T1> >, T2> compiler, Func <TExArgCtx, TEx <T1> > f) =>
 Automatic(compiler, f, aliases => bpi => ReflectEx.Let2(aliases, () => f(bpi), bpi),
           (ex, mod) => tac => ex(mod(tac)));
Exemple #2
0
 public static GCXU <D> CompileGCXU <D>(Func <TExArgCtx, TEx> func, params IDelegateArg[] args) where D : Delegate =>
 Automatic(ex => CompileDelegate <D>(ex, args), func,
           alias => tac => ReflectEx.Let2(alias, () => func(tac), tac),
           (ex, mod) => tac => ex(mod(tac)));
Exemple #3
0
 public static Func <TExArgCtx, TEx <T> > Reference <T>(string alias) => ReflectEx.ReferenceLet <T>(alias);