December 2019
Intermediate to advanced
528 pages
11h 19m
English
We've used a model to store the chat message (singular), and so we need to see what that class looks like. As I said earlier, the shape of it should not be a surprise if you've read through the chapter this far:
public class ChatMessage { public ChatMessage(string sender, string message) { Sender = sender; Message = message; } public string Message { get; set; } public string Sender { get; set; } }
Before we move on, we need to see the RelayCommandAsync class.