Example #1
0
        public void BatchLoad(BatchLoader loader)
        {
            Utility.AssertNotNull(loader, "loader");
            this.Clear();

            BatchLoadInfo[] infos = loader.GetBachInfos();

            foreach (BatchLoadInfo info in infos)
            {
                this.DoBatchLoadAdd(info);
            }
        }
Example #2
0
        public BatchLoader CreateBatchLoader()
        {
            BatchLoader loader = new BatchLoader();

            return(loader);
        }