Partajați prin


FakeTimeProvider.AutoAdvanceAmount Property

Definition

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