Skip to content

ValueAwareGenerator

William Wilcox edited this page Feb 16, 2013 · 2 revisions

To make a generator that is aware of the current state of the POCO being generator, you should extend ValueAwareGenerator. Note that ValueAwareGenerator extends RandomValueGenerator.

By extending ValueAwareGenerator you will have access to the current state of the POCO being generated through the CurrentValue property.

<< RandomValueGenerator