コード例 #1
0
        private ViewCatalogueDataCollection GetCollection(List <ExtractionInformation> extractionInformations)
        {
            var collection = new ViewCatalogueDataCollection(_catalogue);

            collection.DatabaseObjects.AddRange(olvFilters.CheckedObjects.OfType <IFilter>());
            collection.DatabaseObjects.AddRange(extractionInformations);

            return(collection);
        }
コード例 #2
0
        public override void Execute()
        {
            base.Execute();
            var collection = new ViewCatalogueDataCollection(_catalogue);

            if (numberToFetch > 0)
            {
                collection.TopX = numberToFetch;
            }

            BasicActivator.ShowData(collection);
        }