Class PersonExtensions
Extension methods for IPerson.
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: IRM.AspNetCore.Identity
Assembly: IRM.AspNetCore.Identity.dll
Syntax
public static class PersonExtensions
Methods
GetFullName(IPerson, String)
Gets the full name of a IPerson.
Declaration
public static string GetFullName(this IPerson person, string unknownName = "Okänt")
Parameters
IPerson
person
The person to get full name for. |
String
unknownName
The constant used for unknow name. |
Returns
String
The full name for a IPerson. |
GetInitials(IPersonName)
Gets the initials for a IPerson.
Declaration
public static string GetInitials(this IPersonName person)
Parameters
IPersonName
person
The person to get initials for. |
Returns
String
The initials for a IPerson. |