目錄 / Table of Contents

Interface IOdfFormulaVolatileContext

Namespace
OdfKit.Formula
Assembly
OdfKit.dll

Supplies calculation-session state for volatile OpenFormula functions. 提供 OpenFormula volatile 函式所需的計算工作階段狀態。

public interface IOdfFormulaVolatileContext

Properties

EvaluationTimestamp

Gets the local timestamp captured for the current calculation session. 取得目前計算工作階段所擷取的當地時間戳記。

DateTime EvaluationTimestamp { get; }

Property Value

DateTime

Methods

NextRandomDouble()

Returns the next uniformly distributed random value for the current calculation session. 傳回目前計算工作階段的下一個均勻分布隨機值。

double NextRandomDouble()

Returns

double

A value greater than or equal to zero and less than one. / 大於或等於零且小於一的值。

Remarks

Implementations used by parallel document recalculation must be thread-safe. 用於平行文件重算的實作必須確保執行緒安全。