語言

FakeTimeProvider.AutoAdvanceAmount 屬性

定義

讀取時鐘時,讀取時間的時間會提前或設定。

public:
 property TimeSpan AutoAdvanceAmount { TimeSpan get(); void set(TimeSpan value); };
public TimeSpan AutoAdvanceAmount { get; set; }
member this.AutoAdvanceAmount : TimeSpan with get, set
Public Property AutoAdvanceAmount As TimeSpan

屬性值

例外狀況

時間值小 Zero於 。

備註

這會預設為 Zero。

適用於