OpenMetaverse.RegistrationApi.GatherLastNamesResponse C# (CSharp) Method

GatherLastNamesResponse() private method

private GatherLastNamesResponse ( OpenMetaverse.Capabilities.CapsClient client, OSD response, Exception error ) : void
client OpenMetaverse.Capabilities.CapsClient
response OSD
error System.Exception
return void
        private void GatherLastNamesResponse(CapsClient client, OSD response, Exception error)
        {
            if (response is OSDMap)
            {
                //LLSDMap respTable = (LLSDMap)response;

                //FIXME:
                //_lastNames = new List<LastName>(respTable.Count);

                //for (Dictionary<string, object>.Enumerator it = respTable.GetEnumerator(); it.MoveNext(); )
                //{
                //    LastName ln = new LastName();

                //    ln.ID = int.Parse(it.Current.Key.ToString());
                //    ln.Name = it.Current.Value.ToString();

                //    _lastNames.Add(ln);
                //}

                //_lastNames.Sort(new Comparison<LastName>(delegate(LastName a, LastName b) { return a.Name.CompareTo(b.Name); }));
            }
        }