-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
107 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
namespace BlazorWebCV.Models; | ||
|
||
public class ChatMessage | ||
{ | ||
public int Order { get; set; } | ||
public string Message { get; set; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,18 @@ | ||
using System.Collections.Generic; | ||
using BlazorWebCV.Models; | ||
|
||
namespace BlazorWebCV.State; | ||
|
||
public class ChatMessagesContainer | ||
{ | ||
public List<string> ChatMessages { get; set; } = new List<string>() | ||
public List<ChatMessage> ChatMessages { get; set; } = new List<ChatMessage>() | ||
{ | ||
"robot&&Greetings, welcome to my website!\n" + | ||
"Feel free to take a look around.\n" + | ||
"Type Help for available commands." | ||
new ChatMessage() | ||
{ | ||
Order = 0, | ||
Message = "robot&&Greetings, welcome to my website!\n" + | ||
"Feel free to take a look around.\n" + | ||
"Type Help for available commands." | ||
} | ||
}; | ||
} |