The GetListAsync method (String, String) returns a collection of types defined by the class name.
Namespace – ABSuite.AccessLayer.Connector.Core
Assembly – Unisys.ABSuite.AccessLayer.Connector.Core (in Unisys.ABSuite.AccessLayer.Connector.Core.dll)
Syntax
Task<IEnumerable> GetListAsync( string listName, string className )
Argument
listName – System.String
This argument provides the name of the list.
className – System.String
This argument provides the name of the class.
Using the IRtConnection Interface for the GetListAsync Method (String, String)
The following code is an example of using the GetListAsync method (String, String):
connection.GetListAsync("CUST.Customers", "NameIdInfoModel").ContinueWith ((t) => { var myList = t.Result; foreach(NameIdInfoModel item in myList) { // Process the item } });