File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed
src/Application/src/RazorPagesTestSample/Data Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,17 @@ public class Message
7
7
{
8
8
public int Id { get ; set ; }
9
9
10
- [ Required ]
10
+ /// <summary>
11
+ /// Gets or sets the text of the message.
12
+ /// </summary>
13
+ /// <value>
14
+ /// The text content of the message, limited to 200 characters.
15
+ /// </value>
16
+ /// <remarks>
17
+ /// This property is required and must be a text data type.
18
+ /// If the text exceeds 200 characters, an error message will be displayed.
19
+ /// </remarks>
20
+ /// /// /// /// /// /// /// /// /// /// [Required]
11
21
[ DataType ( DataType . Text ) ]
12
22
[ StringLength ( 200 , ErrorMessage = "There's a 200 character limit on messages. Please shorten your message." ) ]
13
23
public string Text { get ; set ; }
You can’t perform that action at this time.
0 commit comments