public Thread(ApiThread thread, Account account) { Account = account; ApiThread = thread; ApiPost = thread; ThreadCommand = new Command(NavigateThread); ParseContent(thread.Content); LoadProfileImage().ContinueWith(t => t); }
// Displays a thread in the console public static void DisplayThread(ApiThread thread) { Console.WriteLine($"Title - {thread.Title}\n" + $"ID - {thread.ID}\n" + $"Content - {thread.Content}\n" + $"Date posted - {thread.DatePosted.ToShortDateString()} {thread.DatePosted.ToShortTimeString()}\n" + $"Pinned - {thread.Pinned}\n" + $"Locked - {thread.Locked}\n" + $"Replies - {thread.Replies}"); Console.WriteLine("========= User ========"); DisplayUser(thread.User); }