Beispiel #1
0
        public void Add(RecomputeId unitId, ComputeUnitStrategyBase computeUnitStrategy)
        {
            // First, any added compute unit is added to the ordered compute units list, because it should
            // participate in the overall record compute process.
            Add(computeUnitStrategy);

            // Secondly, add the unit to the identifiable units collection.
            Debug.Assert(unitId != null);
            identifiableStrategies[unitId] = computeUnitStrategy;
        }
 public abstract void Add(ComputeUnitStrategyBase childComputeUnit);
Beispiel #3
0
 /// <summary>
 /// Adds a compute unit to the record computer.
 /// </summary>
 /// <param name="computeFieldStrategy"></param>
 public void Add(ComputeUnitStrategyBase computeUnitStrategy)
 {
     orderedComputeUnitStrategies.Add((ComputeUnitStrategyBase)computeUnitStrategy);
     computeUnitStrategy.DataviewSynchronizer = DataviewSynchronizer;
 }
Beispiel #4
0
 /// <summary>
 /// add field compute strategy to link compute strategy
 /// </summary>
 /// <param name="computeFieldStrategy"></param>
 public override void Add(ComputeUnitStrategyBase childComputeUnit)
 {
     computeUnitStrategies.Add((ComputeFieldStrategy)childComputeUnit);
     childComputeUnit.DataviewSynchronizer = DataviewSynchronizer;
 }