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