opensim/OpenSim/Framework/Util.cs
/// <summary>
/// Produces a universal (HG) user-facing name given the information
/// </summary>
/// <param name="firstName"></param>
/// <param name="lastName"></param>
/// <param name="homeURI"></param>
/// <returns>string of the form first.last @foo.com or first last</returns>
Produces a universal (HG) user-facing name given the information
Produces a universal ( HG ) user - facing name given the information
public static string UniversalName(String firstName, String lastName, String homeURI)
        {
            Uri uri = null;
            try
            {
                uri = new Uri(homeURI);
            }
            catch (UriFormatException)
            {
                return firstName + " " + lastName;
            }
            return firstName + "." + lastName + " " + "@" + uri.Authority;
        }
public static string UniversalName ( String firstName , String lastName , String homeURI ) { Uri uri = null ; try { uri = new Uri ( homeURI ) ; } catch ( UriFormatException ) { return firstName + " " + lastName ; } return firstName + " " + lastName + " " + " " + uri . Authority ; }
Produces a universal (HG) user-facing name given the information
Produces a universal ( HG ) user - facing name given the information
string of the form first.last @foo.com or first last
string of the form first . last @foo . com or first last
firstName
String
None
lastName
String
None
homeURI
String
None