Ejemplo n.º 1
0
 /// <summary>
 /// Intersect with the given estimator
 /// </summary>
 /// <param name="estimator">Other estimator.</param>
 /// <returns></returns>
 public virtual void Intersect(IStrataEstimator <TEntity, int, TCount> estimator)
 {
     Intersect(estimator?.Extract());
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Decode
 /// </summary>
 /// <param name="estimator">Other estimator.</param>
 /// <param name="destructive">When <c>true</c> the values in this estimator will be altered and rendered useless, else <c>false</c>.</param>
 /// <returns></returns>
 public virtual long?Decode(IStrataEstimator <TEntity, int, TCount> estimator,
                            bool destructive = false)
 {
     return(Decode(estimator?.Extract(), destructive));
 }