Skip to content

Compono.BogusConvention

Compono.Bogus

Compono

BogusConvention Enum

One of Compono.Bogus's fixed set of built-in, conservative member-name conventions - see docs/adr/0027-compono-bogus-package-design.md's Model 1. Deliberately not extensible: a new built-in convention requires a new enum member, a generator mapping, documentation, and tests, not a value a consumer can define themselves - custom behavior belongs in AddConvention(string, Func<Faker,string>), not in this enum. See docs/adr/0028-configurable-bogus-member-name-conventions.md.

public enum BogusConvention

Fields

FirstName 0

Maps to faker.Name.FirstName().

LastName 1

Maps to faker.Name.LastName().

FullName 2

Maps to faker.Name.FullName().

Email 3

Maps to faker.Internet.Email().

PhoneNumber 4

Maps to faker.Phone.PhoneNumber().

StreetAddress 5

Maps to faker.Address.StreetAddress().

City 6

Maps to faker.Address.City().

State 7

Maps to faker.Address.State().

PostalCode 8

Maps to faker.Address.ZipCode().

CompanyName 9

Maps to faker.Company.CompanyName().