protected override void GetReferenceValuesInternal(IReferenceValueProcessor processor) { Rectangle rect = Range; for (int row = rect.Top; row <= rect.Bottom - 1; row++) { for (int col = rect.Left; col <= rect.Right - 1; col++) { object value = Sheet[row, col]; if (processor.ProcessValue(value) == false) { return; } } } }
protected virtual void GetReferenceValuesInternal(IReferenceValueProcessor processor) { }
public void GetReferenceValues(IReferenceValueProcessor processor) { Debug.Assert(Valid, "invalid reference should not be getting here"); GetReferenceValuesInternal(processor); }