public object Clone()
                {
                    var result = new ClipTimeToViewportTimeRangePercentColumnGenerator <TGenerator>(
                        ViewportSensitiveProjection.CloneIfViewportSensitive(this.timeRangeColumnGenerator.Generator));

                    return(result);
                }
                public object Clone()
                {
                    var result = new ClipTimeToViewportTimestampColumnGenerator <TGenerator>(
                        ViewportSensitiveProjection.CloneIfViewportSensitive(this.generator));

                    return(result);
                }
                public bool NotifyViewportChanged(IVisibleTableRegion viewport)
                {
                    bool result = false;

                    result |= ViewportSensitiveProjection.NotifyViewportChanged(this.generatorDenominator, viewport);
                    result |= ViewportSensitiveProjection.NotifyViewportChanged(this.generatorNumerator, viewport);
                    return(result);
                }
Example #4
0
 // IViewportSensitiveProjection
 public object Clone()
 {
     if (DependsOnViewport)
     {
         return(new TimestampDeltaToDoubleColumnGenerator <TGenerator>(
                    ViewportSensitiveProjection.CloneIfViewportSensitive(this.generator)));
     }
     else
     {
         return(this);
     }
 }
 // IViewportSensitiveProjection
 public object Clone()
 {
     if (this.DependsOnViewport)
     {
         return(new PercentGenerator <TGenerator1, TGenerator2>(
                    ViewportSensitiveProjection.CloneIfViewportSensitive(this.generatorNumerator),
                    ViewportSensitiveProjection.CloneIfViewportSensitive(this.generatorDenominator)));
     }
     else
     {
         return(this);
     }
 }
Example #6
0
 public bool NotifyViewportChanged(IVisibleTableRegion viewport)
 {
     return(ViewportSensitiveProjection.NotifyViewportChanged(this.generator, viewport));
 }
 public bool NotifyViewportChanged(IVisibleTableRegion viewport)
 {
     this.ViewPortContainer.VisibleTableRegion = viewport;
     ViewportSensitiveProjection.NotifyViewportChanged(this.Generator, viewport);
     return(true);
 }