/// <inheritdoc />
 public bool canHandleEvent <T>() where T : struct
 {
     return(registry.ContainsKey(typeof(T)));
 }