Ejemplo n.º 1
0
 public static Func <TParameter, Fuzzy> Not <TParameter>(Func <TParameter, bool> func) => ctx => Fuzzy.Create(!func(ctx));
Ejemplo n.º 2
0
 public static Func <TParameter, Fuzzy> And <TParameter>(this Func <TParameter, Fuzzy> first, Func <TParameter, bool> second) => ctx => first(ctx) & Fuzzy.Create(second(ctx));
Ejemplo n.º 3
0
 public static Func <TParameter, Fuzzy> Is <TParameter>(Func <TParameter, bool> f) => ctx => Fuzzy.Create(f(ctx));