public void setOperation(int opId) { ICellOperation cellOp; if ( this._cellOpsMap.TryGetValue(opId, out cellOp) ) { this._curOp = cellOp; } }
public void clearOperationState() { if (this._curOp != null) { this._curOp.clear(); this._curOp = null; } }