DumpResult helper method
Some tooltip text!
• Less than 1 minute to read
• Less than 1 minute to read
using SuperOffice;
using SuperOffice.CRM.Services;
using SuperOffice.CRM.ArchiveLists;
private void DumpResult( ArchiveColumnInfo[] columns, ArchiveListItem[] rows )
{
Array.ForEach( columns, delegate( ArchiveColumnInfo column ) { Console.Write( column.ToString() ); } );
Console.WriteLine();
Array.ForEach( rows, delegate( ArchiveListItem row )
{
foreach(KeyValuePair data in row.ColumnData)
{
Console.Write( ( data.Value != null ? data.Value.DisplayValue : "-" ) + "\t" );
}
Console.WriteLine();
} );
Console.WriteLine();
}