Exemple #1
0
 protected LoadBinderBase(Chain <TPage, TData> parent, int into)
 {
     Parent = parent;
     Index  = into;
 }
Exemple #2
0
 public LoadNextBinder(Chain <TPage, TData> parent, int into) : base(parent, into)
 {
     Parent._source.StartLoadPage(this, new Range <int>(
                                      Parent.First.Bounds.Max,
                                      Parent.First.Bounds.Max + Parent.PageSize));
 }
Exemple #3
0
 public ReloadExistingBinder(Chain <TPage, TData> parent, int into) : base(parent, into)
 {
     Parent._source.StartLoadPage(this, Parent._pages[into].Bounds);
 }
Exemple #4
0
 public LoadPreviousBinder(Chain <TPage, TData> parent, int into) : base(parent, into)
 {
     Parent._source.StartLoadPage(this, new Range <int>(
                                      Parent.First.Bounds.Min - Parent.PageSize,
                                      Parent.First.Bounds.Min));
 }