Споделяне чрез


FakeTimeProvider.AutoAdvanceAmount Property

Definition

Overloads

AutoAdvanceAmount

Gets or sets the amount of time by which time advances whenever the clock is read.

AutoAdvanceAmount

Source:
FakeTimeProvider.cs
Source:
FakeTimeProvider.cs

Gets or sets the amount of time by which time advances whenever the clock is read.

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

Property Value

Exceptions

The time value is less than Zero.

Remarks

This defaults to Zero.

Applies to