Struct RandomTimeSpan
Implements
Inherited Members
Namespace: PoeShared.Scaffolding
Assembly: PoeShared.dll
Syntax
public readonly struct RandomTimeSpan : IEquatable<RandomTimeSpan>
Constructors
Name | Description |
---|---|
RandomTimeSpan() | |
RandomTimeSpan(double, double) | |
RandomTimeSpan(TimeSpan) | |
RandomTimeSpan(TimeSpan, TimeSpan) |
Properties
Name | Description |
---|---|
Max | Gets or sets the maximum delay duration used when delay randomization is enabled. |
Min | Gets or sets the fixed delay duration. This is the default delay used if randomization is not enabled. |
Randomize | Gets or sets a value indicating whether the delay should be randomized. When set to true, the actual delay will be a random value between Min and Max. |
Methods
Name | Description |
---|---|
Equals(RandomTimeSpan) | |
Equals(object) | |
GetHashCode() | |
IsEmpty() | |
Next() | Returns next random timespan |
ToString() |
Operators
Name | Description |
---|---|
operator ==(RandomTimeSpan, RandomTimeSpan) | |
operator !=(RandomTimeSpan, RandomTimeSpan) |