private static async Task CountDemo(ISimpleStatefulActor proxy)
 {
     Console.WriteLine("Enter a value for the Count as it is currently: {0}", await proxy.GetCountAsync());
     var count = Convert.ToInt32(Console.ReadLine());
     await proxy.SetCountAsync(count);
     await CountDemo(proxy);
 }
示例#2
0
        private static async Task CountDemo(ISimpleStatefulActor proxy)
        {
            Console.WriteLine("Enter a value for the Count as it is currently: {0}", await proxy.GetCountAsync());
            var count = Convert.ToInt32(Console.ReadLine());
            await proxy.SetCountAsync(count);

            await CountDemo(proxy);
        }