private ViewCatalogueDataCollection GetCollection(List <ExtractionInformation> extractionInformations) { var collection = new ViewCatalogueDataCollection(_catalogue); collection.DatabaseObjects.AddRange(olvFilters.CheckedObjects.OfType <IFilter>()); collection.DatabaseObjects.AddRange(extractionInformations); return(collection); }
public override void Execute() { base.Execute(); var collection = new ViewCatalogueDataCollection(_catalogue); if (numberToFetch > 0) { collection.TopX = numberToFetch; } BasicActivator.ShowData(collection); }