Example #1
0
 private void Handle(RootCreated e)
 {
     if (!e.RootId.Contains("Copy"))
     {
         SendCommand(new CreateRoot($"{e.RootId}Copy"));
     }
 }
Example #2
0
File: Root.cs Project: zedr0n/ZES
 private void ApplyEvent(RootCreated e)
 {
     Id = e.RootId;
 }