Class FormatHelper
- Namespace
- SunamoShared.Helpers
- Assembly
- SunamoShared.dll
Provides methods for formatting email addresses from names and domain postfixes, with diacritic removal.
public class FormatHelper
- Inheritance
-
FormatHelper
- Inherited Members
- Extension Methods
Properties
ParsedName
Gets or sets the parsed first name from the last FormatEmail call.
public static string? ParsedName { get; set; }
Property Value
ParsedSurname
Gets or sets the parsed surname from the last FormatEmail call.
public static string? ParsedSurname { get; set; }
Property Value
Methods
FormatEmail(string, string)
Formats an email address from a full name and domain postfix.
public static string FormatEmail(string nameSurname, string postfix)
Parameters
Returns
FormatEmail(string, string, string)
Formats an email address from a first name, surname, and domain postfix.
public static string FormatEmail(string name, string surname, string postfix)