Ejemplo n.º 1
0
 static void Main()
 {
     bool test1 = FuncTest <Test> .FuncEqual(x => x.Bar, y => y.Bar),
          test2 = FuncTest <Test> .FuncEqual(x => x.Foo, y => y.Bar);
 }
Ejemplo n.º 2
0
 public static bool FuncEqual <TValue>(
     Expression <Func <TSource, TValue> > x,
     Expression <Func <TSource, TValue> > y)
 {
     return(FuncTest.FuncEqual <TSource, TValue>(x, y));
 }