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);
                }
コード例 #3
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);
     }
 }