public override int GetHashCode() { unchecked { return(((RowTransforms != null ? RowTransforms.GetHashCode() : 0) * 397) ^ StackIndex); } }
public TransformStack TrimTop() { if (StackIndex == 0) { return(this); } return(new TransformStack(RowTransforms.Skip(StackIndex), 0)); }
public override int GetHashCode() { unchecked { var hashCode = (Name != null ? Name.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (ColumnFormats != null ? ColumnFormats.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (RowTransforms != null ? RowTransforms.GetHashCode() : 0); return(hashCode); } }
public TransformStack PushTransform(IRowTransform rowTransform) { return(new TransformStack(new [] { rowTransform }.Concat(RowTransforms.Skip(StackIndex)) .Where(transform => !transform.IsEmpty), 0)); }