async Task<string> IGreeter.Greet(string name)
 {
     var e = new GreetEvent { Name = name };
     await PersistTaskAsync(e);
     _state.OnGreet(e);
     return $"Hello {name}!";
 }
            async Task <string> IGreeter.Greet(string name)
            {
                var e = new GreetEvent {
                    Name = name
                };

                await PersistTaskAsync(e);

                _state.OnGreet(e);
                return($"Hello {name}!");
            }
 private void OnRecover(GreetEvent e)
 {
     _state.OnGreet(e);
 }
 public void OnGreet(GreetEvent e)
 {
     GreetCount += 1;
     TotalNameLength += e.Name.Length;
 }
 private void OnRecover(GreetEvent e)
 {
     _state.OnGreet(e);
 }
 public void OnGreet(GreetEvent e)
 {
     GreetCount      += 1;
     TotalNameLength += e.Name.Length;
 }