NameFormats Enum

Summary

Enumeration of which Name format to use in the FullName(NameFormats) method.
Namespace
Faker
Interfaces
  • IComparable
  • IFormattable
  • IConvertible
Base Types
  • object
  • ValueType
  • Enum
graph TD Base0["Enum"]-->Type Base1["ValueType"]-->Base0 Base2["object"]-->Base1 Interface0["IComparable"]-.->Type Interface1["IFormattable"]-.->Type Interface2["IConvertible"]-.->Type Type["NameFormats"] class Type type-node

Syntax

[Flags]
public enum NameFormats

Attributes

Type Description
FlagsAttribute

Fields

Name Constant Value Summary
Standard 1
The standard (First and Last name only).
static
WithPrefix 2
First and Last name with a Prefix.
static
WithPrefixAndSuffix 6
First Last name with both a Prefix and a Suffix.
static
WithSuffix 4
First and Last name with a Suffix.
static
GitHub