---
agentTools:
  projectIndex: https://objectfillernet.readme.io/llms.txt
---

# RealNames

[block:api-header]
{
  "type": "basic",
  "title": "Documentation",
  "sidebar": true
}
[/block]

[block:textarea]
{
  "text": "The RealName plugin is made to generate strings based on real names like \"Jennifer\" or \"Miller\". The realname plugin contains about 5000 first- and last names.\n\nThe `RealName`plugin has a `NameStyle` enumeration as constructor parameter. With that enumeration it is possible to define how the generated name should look like.",
  "sidebar": true
}
[/block]

[block:code]
{
  "codes": [
    {
      "code": "public class Person\n{\n  public string FirstName { get; set; }\n  public string LastName { get; set; }\n  public string FullName { get; set; }\n  public string FullNameReverse { get; set; }\n}\n\npublic class HelloFiller\n{\n  public void FillPerson()\n  {\n    Filler<Person> pFiller = new Filler<Person>();\n    pFiller.Setup()\n      .OnProperty(x => x.FirstName).Use(new RealNames(NameStyle.FirstName))\n      .OnProperty(x => x.LastName).Use(new RealNames(NameStyle.LastName));\n\n    Person filledPerson = pFiller.Create();\n  }\n}\n",
      "language": "csharp",
      "name": "The RealName plugin is made to generate strings based on real names like \"Jennifer\" or \"Miller\""
    }
  ]
}
[/block]