public ISample Accept(StandardSample sample)
 {
     return(new StandardSample(sample.GetIdentifier(), sample.IsImposter(), GetScaledDimensions(sample), sample.GetOrder(), sample.GetDuration().HasValue));
 }
Example #2
0
 public ISample Accept(StandardSample sample)
 {
     if (recalculateDuration)
     {
         return(new StandardSample(sample.GetIdentifier(), sample.IsImposter(), subsetRows, sample.GetOrder(), sample.GetDuration().HasValue));
     }
     else
     {
         return(new StandardSample(sample.GetIdentifier(), sample.IsImposter(), subsetRows, sample.GetOrder(), sample.GetDuration()));
     }
 }