Table of Contents

Class Randomizer

Namespace
Xunit.Sdk

Wraps Random to provide access to the seed value, as well as the ability to reset the current randomizer with a new seed value.

public static class Randomizer
Inheritance
Randomizer
Inherited Members

Properties

Current

Gets the current instance that returns random values based on the current Seed value.

public static Random Current { get; }

Property Value

Random

Seed

Gets the seed used to create the randomizer.

public static int Seed { get; set; }

Property Value

int