public static IEnumerable <string> ResolveRecipientsForSDO(this MultiValuedProperty <ADObjectId> identities, int maxNumber, Func <RecipientObjectResolverRow, string> convert)
        {
            List <string> list = new List <string>();

            if (identities != null)
            {
                IEnumerable <ADObjectId> identities2            = identities.Take(maxNumber);
                IEnumerable <RecipientObjectResolverRow> source = RecipientObjectResolver.Instance.ResolveObjects(identities2);
                list.AddRange(from resolvedRecipient in source
                              select convert(resolvedRecipient));
                if (identities.Count > maxNumber)
                {
                    list.Add(Strings.EllipsisText);
                }
            }
            return(new MultiValuedProperty <string>(list));
        }