コード例 #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);
コード例 #2
0
ファイル: Program.cs プロジェクト: ArdyFoolen/Chess.AF
 static void Main(string[] args)
 {
     FuncExt.WhileNotAborted(() => RunCommand());
 }