RandomNumber.

ResetSeed(int) Method

Summary

Initializes a new instance of the System.Random class, using the specified seed value.
Namespace
Faker
Containing Type
RandomNumber

Syntax

[SuppressMessage("StyleCop.CSharp.NamingRules", "SA1306:FieldNamesMustBeginWithLowerCaseLetter", Justification = "We don't want to change existing api")]
public static void ResetSeed(int Seed)

Attributes

Type Description
SuppressMessageAttribute

Parameters

Name Type Description
Seed int A number used to calculate a starting value for the pseudo-random number sequence. If a negative number is specified, the absolute value of the number is used.

Return Value

Type Description
void

See Also

  • System.Random.#ctor(System.Int32)
GitHub