Exemplo n.º 1
0
        // the below does NOT compile!
        //Func<Name, Greeting> __GreetWith(Greeting greeting)
        //   => GreeterMethod.Apply(greeting);

        // the lines below compiles, but oh my!
        Func <Name, PersonalizedGreeting> GreetWith_1(Greeting greeting)
        => FuncExt.Apply <Greeting, Name, PersonalizedGreeting>(GreeterMethod, greeting);
Exemplo n.º 2
0
 static void Main(string[] args)
 {
     FuncExt.WhileNotAborted(() => RunCommand());
 }