public static IList <EntityProperty> GetProperties(this EntityType key) { if (!TypePropertiesLookup.TryGetValue(key, out var values)) { throw new NotImplementedException($"The given key '{key}' could not be found"); } return(values); }
public static bool HasProperty(this EntityType key, O.M.A.Games.GDOrganizer.Generated.EntityProperty value) { if (!TypePropertiesLookup.TryGetValue(key, out var values)) { throw new NotImplementedException($"The given key '{key}' could not be found"); } return(values.Any(p => p == value)); }