ASC.Xmpp.Host.ASCRosterStore.SortRoster(System.Collections.Generic.List)

Here are the examples of the csharp api class ASC.Xmpp.Host.ASCRosterStore.SortRoster(System.Collections.Generic.List) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Example 7

1. Example

Project: CommunityServer
Source File: ASCRosterStore.cs
public override List<UserRosterItem> GetRosterItems(Jid rosterJid)
        {
            try
            {
                ASCContext.SetCurrentTenant(rosterJid.Server);
                var items = GetASCRosterItems(rosterJid);
                items.AddRange(base.GetRosterItems(rosterJid));
                SortRoster(items);
                return items;
            }
            catch (Exception e)
            {
                throw new JabberException("Could not get roster items.", e);
            }
        }