public static bool TryGetRegisteredKind(string domain, uint id, out EventKind kind)
 {
     return(RegisteredKinds.TryGetValue(new Key(domain, id), out kind));
 }