From Bright Pattern Documentation

Revision as of 21:22, 8 June 2018 by Tracy (talk | contribs)

< Previous | Next >
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

<translate>= Recent Interactions=

The list of recent interactions for the logged user is available in the following property in AgentPlace after agent login:

public SortedDictionary<string, Recent> recents;


The following code snippet shows how to sort the recent interactions according to the timestamp of the interactions:

::List<Recent> recentList = _AgentPlace.recents.Values.ToList();
recentList.Sort((x, y) => x.timestamp.CompareTo(y.timestamp));


< Previous | Next >

</translate>

< Previous | Next >