This documentation is archived and is not being maintained.
AvatarUtils Class
Visual Studio 2013
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
The AvatarUtils type exposes the following members.
| Name | Description | |
|---|---|---|
![]() ![]() | GenerateAvatar | Generates a random avatar with the following specs: i. Background: Solid color (chosen via Round Robin from a predefined color palette) ii. Foreground: First two initials of the display name in white |
![]() ![]() | GetRandomDefaultAvatarColor | |
![]() ![]() | MapToColor | |
![]() ![]() | ToInitials | Extracts the initials (first two) of a string. If no characters present in the string then an empty string is returned. |
Show:
