StandardExtensions.NextTimeSpan 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
NextTimeSpan(SafeRandom, TimeSpan) | |
NextTimeSpan(SafeRandom, TimeSpan, TimeSpan) |
NextTimeSpan(SafeRandom, TimeSpan)
- Source:
- StandardExtensions.cs
public static TimeSpan NextTimeSpan(this Orleans.Internal.SafeRandom random, TimeSpan timeSpan);
static member NextTimeSpan : Orleans.Internal.SafeRandom * TimeSpan -> TimeSpan
<Extension()>
Public Function NextTimeSpan (random As SafeRandom, timeSpan As TimeSpan) As TimeSpan
参数
- random
- SafeRandom
- timeSpan
- TimeSpan
返回
适用于
NextTimeSpan(SafeRandom, TimeSpan, TimeSpan)
- Source:
- StandardExtensions.cs
public static TimeSpan NextTimeSpan(this Orleans.Internal.SafeRandom random, TimeSpan minValue, TimeSpan maxValue);
static member NextTimeSpan : Orleans.Internal.SafeRandom * TimeSpan * TimeSpan -> TimeSpan
<Extension()>
Public Function NextTimeSpan (random As SafeRandom, minValue As TimeSpan, maxValue As TimeSpan) As TimeSpan
参数
- random
- SafeRandom
- minValue
- TimeSpan
- maxValue
- TimeSpan