a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
33 lines
512 B
C#
33 lines
512 B
C#
using System;
|
|
using System.Threading.Tasks;
|
|
|
|
public class Program
|
|
{
|
|
public static void Main (string[] args)
|
|
{
|
|
var p = new Program ();
|
|
p.LoadPlayers ().Wait ();
|
|
}
|
|
|
|
class Model
|
|
{
|
|
public Player SelectedPlayer { get; set; }
|
|
}
|
|
|
|
class Player
|
|
{
|
|
}
|
|
|
|
Model model = new Model ();
|
|
|
|
private async Task LoadPlayers ()
|
|
{
|
|
Action<Player> selectPlayer = player => { };
|
|
Func<Action<Player>, Action<Player>> selector = functor => player => {
|
|
Console.WriteLine (model);
|
|
};
|
|
|
|
selector (selectPlayer);
|
|
}
|
|
|
|
} |