Beispiel #1
0
 /// <summary>
 /// Applies a transformer to the entire data area. The data area will be reset and iteration started from
 /// the beginning no matter what was the state before the call. After the call the enumerator will point
 /// after the end of the collection.
 /// </summary>
 /// <param name="transformer">A transformer implementation to apply to the data area.</param>
 public void ForEach(IOlapCellTransformer transformer)
 {
     Reset();
     while (MoveNext())
     {
         ((OlapCell)Current).Transform(transformer);
     }
 }
Beispiel #2
0
 /// <summary>
 /// Defines an interface to apply transformer classes on a cell.
 /// </summary>
 /// <param name="transformer">A tranformer implementation.</param>
 public void Transform(IOlapCellTransformer transformer)
 {
     transformer.Transform(this);
 }