Interface IOdfFormulaEvaluationFallback
Provides a fallback for formulas that the in-process evaluator cannot calculate. 為處理程序內評估器無法計算的公式提供後援。
public interface IOdfFormulaEvaluationFallback
Remarks
Implementations may delegate to a remote service or an office-suite calculation engine. They are responsible for isolation, timeouts, and external-data policy. 實作可委派給遠端服務或辦公套件計算引擎,並應自行負責隔離、逾時及外部資料政策。
Methods
TryEvaluate(string, IEvaluationContext, out object)
Attempts to evaluate an otherwise unsupported formula. 嘗試評估原本不受支援的公式。
bool TryEvaluate(string formula, IEvaluationContext context, out object result)
Parameters
formulastringThe normalized formula text. / 標準化後的公式文字。
contextIEvaluationContextThe spreadsheet evaluation context. / 試算表評估內容模型。
resultobjectThe result when evaluation succeeds. / 評估成功時的結果。