コード例 #1
0
 public LazyObservableCollection(ILoadItemsStrategy <T> loadItemsStrategy, int pageSize)
 {
     this.loadItemsStrategy  = loadItemsStrategy;
     this.pageSize           = pageSize;
     this.CollectionChanged += this.OnCollectionChanged;
 }
コード例 #2
0
 public LazyListViewModel()
 {
     this.loadItemsStrategy = new ImageLoadItemsStrategy();
     this.Images            = new LazyObservableCollection <string>(this.loadItemsStrategy, 5);
 }