Documentation

The "Lorem Ipsum" plugin generates some random text which contains the famous "Lorem Ipsum" text. Read more about the Lorem Ipsum here. With the Lipsum plugin it is also possible to generate some other random text in english (Child Harold), german (In der Fremde) and french (Le Masque)

The following example generates for the Lastname a Lorem Ipsum text with 3 paragraphs, min 5 sentences and min 100 words. On property Name it generates a text on german.

public class Person
{
  public string Name { get; set; }
  public string LastName { get; set; }
  public int Age { get; set; }
  public DateTime Birthday { get; set; }
}

public class HelloFiller
{
  public void FillPerson()
  {
    Filler<Person> pFiller = new Filler<Person>();
    pFiller.Setup()
      .OnProperty(x => x.LastName)
      .Use(new Lipsum(LipsumFlavor.LoremIpsum,
                      3, 5, minWords: 100))
      
      .OnProperty(x => x.Name)
      .Use(new Lipsum(LipsumFlavor.InDerFremde));
    
    Person filledPerson = pFiller.Create();
  }
}