public IEnumerable <EntityCollectionProviderDisplay> GetEntityFilterGroupProviders(EntityType entityType) { if (entityType != EntityType.Product) { throw new NotImplementedException("Only Product types have been implemented"); } return (_resolver.GetProviderAttributes <IProductEntityFilterGroupProvider>() .Select(x => x.ToEntityCollectionProviderDisplay())); }
public IEnumerable <EntityCollectionProviderDisplay> GetEntityCollectionProviders() { return(_resolver.GetProviderAttributes().Select(x => x.ToEntityCollectionProviderDisplay())); }