public void ListMessages() { var messages = _messenger.GetMessages(); foreach (var message in messages) { System.Console.WriteLine(message.Content); } }
public void ListMessages() { var messages = _messenger.GetMessages(); foreach (var message in messages) { System.Console.WriteLine($"{message.Content} - Country: {message.Country}, " + $"Dealer: {message.Dealer}, Records: {message.RecordsProcessed}"); } }
public void ListMessages() { var messages = _messenger.GetMessages(); foreach (var message in messages) { System.Console.WriteLine($"{message.Content} - Machine: {message.MachineName}, " + $"Started: {message.StartDate:dd/MM/yyyy}, Ended: {message.EndDate:dd/MM/yyyy}"); } }
public void ListMessages() { var messages = _messenger.GetMessages(); foreach (var message in messages) { System.Console.WriteLine($"{message.Content} - File: {message.FileName}, " + $"Pass: {message.TotalPass}, Fail: {message.TotalFail}"); } }
public void ListMessages() { var messages = _messenger.GetMessages(IndexName, TypeName); if (messages != null) { foreach (var item in messages) { var message = DataJsonSerializer <PledgeRun> .DeserializeFromJson(item.ToString()); if (message == null) { System.Console.WriteLine("Unable to retrieve pledge run data"); return; } System.Console.WriteLine($"{message.Content} - File: {message.FileName}, " + $"Pass: {message.TotalPass}, Fail: {message.TotalFail}"); } } }