NameBuilder Class

Collects the data used to initialize a NameProperty instance.

Definition

Namespace: FolkerKinzel.VCards
Assembly: FolkerKinzel.VCards (in FolkerKinzel.VCards.dll) Version: 8.0.1+a91cc3f0fd39aeb548e16006a60ca9dd10a304a2
C#
public sealed class NameBuilder
Inheritance
Object    NameBuilder

Remarks

An instance of this class can be reused but it's not safe to access its instance methods with multiple threads in parallel.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Methods

AddGeneration(IEnumerableString)Adds the content of a collection of Strings to Surnames2. (Generation markers or qualifiers, e.g., "Jr." or "III".) (4 - RFC 9554)
AddGeneration(String)Adds a String to Generations. (A generation marker or qualifier, e.g., "Jr." or "III".) (4 - RFC 9554)
AddGiven(IEnumerableString)Adds the content of a collection of Strings to Given. (Given names, also known as "first names".) (2,3,4)
AddGiven(String)Adds a String to Given. (A given name, also known as "first name".) (2,3,4)
AddGiven2(IEnumerableString)Adds the content of a collection of Strings to Given2. (Additional names, also known as "middle names".) (2,3,4)
AddGiven2(String)Adds a String to Given2. (An additional name, also known as "middle name".) (2,3,4)
AddPrefix(IEnumerableString)Adds the content of a collection of Strings to Prefixes. (Honorific prefixes.) (2,3,4)
AddPrefix(String)Adds a String to Prefixes. (A honorific prefix.) (2,3,4)
AddSuffix(IEnumerableString)Adds the content of a collection of Strings to Suffixes. (Honorific suffixes.) (2,3,4)
AddSuffix(String)Adds a String to Suffixes. (A honorific suffix.) (2,3,4)
AddSurname(IEnumerableString) Adds the content of a collection of Strings to Surnames. (Family names, also known as "surnames".) (2,3,4)
AddSurname(String)Adds a String to Surnames. (A family name, also known as "surname".) (2,3,4)
AddSurname2(IEnumerableString)Adds the content of a collection of Strings to Surnames2. (Secondary surnames (used in some cultures), also known as "maternal surnames".) (4 - RFC 9554)
AddSurname2(String)Adds a String to Surnames2. (A secondary surname (used in some cultures), also known as "maternal surname".) (4 - RFC 9554)
Build Builds a new Name instance with the content of the NameBuilder and clears all of this content when it returns.
Create Creates a new NameBuilder instance.
GetTypeGets the Type of the current instance.
(Inherited from Object)

See Also