public string GetTypeName() { string[] result = RoutingKey.Split('.'); return(result.Length > 1 ? result[0] : RoutingKey); }