The StreetName plugin is a plugin for the type string. It contains all streets of the cities Dresden, London, Paris, Tokyo, New York and Moscow.
For which City a street name will be chosen have to be specified by the City-Enumeration in the constructor of the StreetName plugin.
public class Address
{
public string Street { get; set; }
}
public class HelloFiller
{
public void FillAddress()
{
Filler<Address> pFiller = new Filler<Address>();
pFiller.Setup()
.OnProperty(x => x.Street)
.Use(new StreetName(City.Paris));
Address filledAddress = pFiller.Create();
}
}