protected override void _commit_to_surface(ShapeSheetSurface surface) { // Do nothing if there aren't any updates if (this.ValueItems.Count < 1) { return; } var stream = SRC.ToStream(this.StreamItems); var formulas = WriterHelper.build_formulas_array(this.ValueItems); var flags = this.ComputeGetFormulaFlags(); int c = surface.SetFormulas(stream, formulas, (short)flags); }
protected override void _commit_to_surface(ShapeSheetSurface surface) { // Do nothing if there aren't any updates if (this.ValueItems.Count < 1) { return; } var stream = SRC.ToStream(this.StreamItems); var unitcodes = WriterHelper.build_results_arrays_unitcode(this.ValueItems); var results = WriterHelper.build_results_arrays_results(this.ValueItems); var flags = this.ComputeGetResultFlags(this.ValueItems[0].ResultType); surface.SetResults(stream, unitcodes, results, (short)flags); }