PeanutButter
Loading...
Searching...
No Matches
PeanutButter.RandomGenerators.UniqueRandomValueGenerator Class Referenceabstract

Base class for UniqueRandomValueGenerator<T>. More...

Inheritance diagram for PeanutButter.RandomGenerators.UniqueRandomValueGenerator:
PeanutButter.RandomGenerators.UniqueRandomValueGenerator< T >

Public Member Functions

object NextObjectValue ()
 Gets the next unique value as an object so it can be used in reflection and suchlike.

Static Public Member Functions

static UniqueRandomValueGenerator For (Type t)
 Produces an instance of an UniqueRandomValueGenerator for the provided Type t.

Detailed Description

Base class for UniqueRandomValueGenerator<T>.

Member Function Documentation

◆ For()

UniqueRandomValueGenerator PeanutButter.RandomGenerators.UniqueRandomValueGenerator.For ( Type t)
static

Produces an instance of an UniqueRandomValueGenerator for the provided Type t.

Parameters
t
Returns

◆ NextObjectValue()

object PeanutButter.RandomGenerators.UniqueRandomValueGenerator.NextObjectValue ( )
abstract

Gets the next unique value as an object so it can be used in reflection and suchlike.

Returns

The documentation for this class was generated from the following file:
  • source/TestUtils/PeanutButter.RandomGenerators/UniqueRandomValueGenerator.cs