Skip to content

Commit 07e2d1b

Browse files
committed
feat: general improvements and minor bugs
1 parent b250999 commit 07e2d1b

18 files changed

Lines changed: 64 additions & 64 deletions

src/WebUI/Application.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ namespace WebExpress.Tutorial.WebUI
1515
public sealed class Application : IApplication
1616
{
1717
/// <summary>
18-
/// Returns the current application context, which provides access to application-wide services and configurations.
18+
/// Gets the current application context, which provides access to application-wide services and configurations.
1919
/// </summary>
2020
public static IApplicationContext ApplicationContext { get; private set; }
2121

src/WebUI/Model/Act.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,17 @@ namespace WebExpress.Tutorial.WebUI.Model
1111
public class Act
1212
{
1313
/// <summary>
14-
/// Returns or sets the name of the act.
14+
/// Gets or sets the name of the act.
1515
/// </summary>
1616
public string Name { get; set; } = string.Empty;
1717

1818
/// <summary>
19-
/// Returns the list of controls associated with this descriptor.
19+
/// Gets or sets the list of controls associated with this descriptor.
2020
/// </summary>
2121
public IEnumerable<IControl> Controls { get; set; } = [];
2222

2323
/// <summary>
24-
/// Returns or sets the dark mode controls of the main act.
24+
/// Gets or sets the dark mode controls of the main act.
2525
/// This property allows access to the controls in the main act or assigns a new control to it.
2626
/// </summary>
2727
public IEnumerable<IControl> DarkControls { get; set; } = [];

src/WebUI/Model/Character.cs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,44 +15,44 @@ namespace WebExpress.Tutorial.WebUI.Model
1515
public class Character : IIndexItem, IDomain, IIdentity
1616
{
1717
/// <summary>
18-
/// Returns or sets the identifier of the table data.
18+
/// Gets or sets the identifier of the table data.
1919
/// </summary>
2020
public Guid Id { get; set; } = Guid.NewGuid();
2121

2222
/// <summary>
23-
/// Returns or sets the name associated with the object.
23+
/// Gets or sets the name associated with the object.
2424
/// </summary>
2525
[ValidateRequired()]
2626
public string Name { get; set; }
2727

2828
/// <summary>
29-
/// Returns or sets the description associated with the object.
29+
/// Gets or sets the description associated with the object.
3030
/// </summary>
3131
public string Description { get; set; }
3232

3333
/// <summary>
34-
/// Returns or sets the name of the context or entity where this item appears.
34+
/// Gets or sets the name of the context or entity where this item appears.
3535
/// </summary>
3636
[RestConverter<AppearsConverter>()]
3737
public IEnumerable<Game> AppearsIn { get; set; }
3838

3939
/// <summary>
40-
/// Returns the icon associated with this character.
40+
/// Gets or sets the icon associated with this character.
4141
/// </summary>
4242
public ImageIcon Icon { get; set; }
4343

4444
/// <summary>
45-
/// Returns the email address associated with the user.
45+
/// Gets the email address associated with the user.
4646
/// </summary>
4747
public string Email => "";
4848

4949
/// <summary>
50-
/// Returns the hashed representation of the user's password.
50+
/// Gets the hashed representation of the user's password.
5151
/// </summary>
5252
public string PasswordHash => "";
5353

5454
/// <summary>
55-
/// Returns or sets the collection of identity groups associated with the current user.
55+
/// Gets or sets the collection of identity groups associated with the current user.
5656
/// </summary>
5757
public IEnumerable<IIdentityGroup> Groups { get; set; }
5858

src/WebUI/Model/Curse.cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,37 +9,37 @@ namespace WebExpress.Tutorial.WebUI.Model
99
public class Curse : IIndexItem
1010
{
1111
/// <summary>
12-
/// Returns or sets the identifier of the curse.
12+
/// Gets or sets the identifier of the curse.
1313
/// </summary>
1414
public Guid Id { get; set; } = Guid.NewGuid();
1515

1616
/// <summary>
17-
/// Returns or sets the name of the curse.
17+
/// Gets or sets the name of the curse.
1818
/// </summary>
1919
public string Name { get; set; }
2020

2121
/// <summary>
22-
/// Returns or sets the description of the curse.
22+
/// Gets or sets the description of the curse.
2323
/// </summary>
2424
public string Description { get; set; }
2525

2626
/// <summary>
27-
/// Returns or sets the origin or source of the curse (e.g. Voodoo, Artifact, Myth).
27+
/// Gets or sets the origin or source of the curse (e.g. Voodoo, Artifact, Myth).
2828
/// </summary>
2929
public string Origin { get; set; }
3030

3131
/// <summary>
32-
/// Returns or sets the effect or consequence of the curse.
32+
/// Gets or sets the effect or consequence of the curse.
3333
/// </summary>
3434
public string Effect { get; set; }
3535

3636
/// <summary>
37-
/// Returns or sets the method to lift or neutralize the curse.
37+
/// Gets or sets the method to lift or neutralize the curse.
3838
/// </summary>
3939
public string Cure { get; set; }
4040

4141
/// <summary>
42-
/// Returns or sets the context or game part where the curse appears.
42+
/// Gets or sets the context or game part where the curse appears.
4343
/// </summary>
4444
public string AppearsIn { get; set; }
4545

src/WebUI/Model/Group.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,17 @@ namespace WebExpress.Tutorial.WebUI.Model
1010
public class Group : IIdentityGroup
1111
{
1212
/// <summary>
13-
/// Returns or sets the unique identifier for this instance.
13+
/// Gets or sets the unique identifier for this instance.
1414
/// </summary>
1515
public Guid Id { get; set; } = Guid.NewGuid();
1616

1717
/// <summary>
18-
/// Returns or sets the name associated with this instance.
18+
/// Gets or sets the name associated with this instance.
1919
/// </summary>
2020
public string Name { get; set; }
2121

2222
/// <summary>
23-
/// Returns or sets the collection of policy names that are required for access.
23+
/// Gets or sets the collection of policy names that are required for access.
2424
/// </summary>
2525
public IEnumerable<string> Policies { get; set; }
2626
}

src/WebUI/Model/Inventory.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,22 +10,22 @@ namespace WebExpress.Tutorial.WebUI.Model
1010
public class Inventory : IIndexItem
1111
{
1212
/// <summary>
13-
/// Returns or sets the identifier of the table data.
13+
/// Gets or sets the identifier of the table data.
1414
/// </summary>
1515
public Guid Id { get; set; } = Guid.NewGuid();
1616

1717
/// <summary>
18-
/// Returns or sets the name associated with the object.
18+
/// Gets or sets the name associated with the object.
1919
/// </summary>
2020
public string Text { get; set; }
2121

2222
/// <summary>
23-
/// Returns or sets the description associated with the object.
23+
/// Gets or sets the description associated with the object.
2424
/// </summary>
2525
public string Description { get; set; }
2626

2727
/// <summary>
28-
/// Returns or sets the URI as a string.
28+
/// Gets or sets the URI as a string.
2929
/// </summary>
3030
public IUri Uri { get; set; }
3131

src/WebUI/Model/Location.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,22 +9,22 @@ namespace WebExpress.Tutorial.WebUI.Model
99
public class Location : IIndexItem
1010
{
1111
/// <summary>
12-
/// Returns or sets the unique identifier of the location.
12+
/// Gets or sets the unique identifier of the location.
1313
/// </summary>
1414
public Guid Id { get; set; } = Guid.NewGuid();
1515

1616
/// <summary>
17-
/// Returns or sets the display name of the location.
17+
/// Gets or sets the display name of the location.
1818
/// </summary>
1919
public string Text { get; set; }
2020

2121
/// <summary>
22-
/// Returns or sets a short description of the location.
22+
/// Gets or sets a short description of the location.
2323
/// </summary>
2424
public string Description { get; set; }
2525

2626
/// <summary>
27-
/// Returns or sets the island the location belongs to (e.g., "Melee Island", "Monkey Island").
27+
/// Gets or sets the island the location belongs to (e.g., "Melee Island", "Monkey Island").
2828
/// </summary>
2929
public string Island { get; set; }
3030

src/WebUI/Model/QuickfilterGame.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,17 @@ namespace WebExpress.Tutorial.WebUI.Model
1010
public class QuickfilterGame : IIndexItem
1111
{
1212
/// <summary>
13-
/// Returns or sets the unique identifier for the filter.
13+
/// Gets or sets the unique identifier for the filter.
1414
/// </summary>
1515
public Guid Id { get; set; }
1616

1717
/// <summary>
18-
/// Returns or sets the name associated with the current filter.
18+
/// Gets or sets the name associated with the current filter.
1919
/// </summary>
2020
public string Name { get; set; }
2121

2222
/// <summary>
23-
/// Returns or sets the filter logic applied to a game.
23+
/// Gets or sets the filter logic applied to a game.
2424
/// </summary>
2525
public Func<Game, bool> Predicate { get; set; }
2626

src/WebUI/Model/Stage.cs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public class Stage
1818
private readonly List<Event> _events = [];
1919

2020
/// <summary>
21-
/// Returns or sets the description of the main act.
21+
/// Gets or sets the description of the main act.
2222
/// This property provides a convenient way to access or modify the description of the Main Act directly.
2323
/// </summary>
2424
public string Description
@@ -28,7 +28,7 @@ public string Description
2828
}
2929

3030
/// <summary>
31-
/// Returns or sets the controls of the main act.
31+
/// Gets or sets the controls of the main act.
3232
/// This property allows access to the controls in the Main Act or assigns a new control to it.
3333
/// </summary>
3434
public IEnumerable<IControl> Controls
@@ -38,7 +38,7 @@ public IEnumerable<IControl> Controls
3838
}
3939

4040
/// <summary>
41-
/// Returns or sets the primary control of the main act.
41+
/// Gets or sets the primary control of the main act.
4242
/// This property allows access to the first control in the main act or assigns a new control to it.
4343
/// </summary>
4444
public IControl Control
@@ -48,7 +48,7 @@ public IControl Control
4848
}
4949

5050
/// <summary>
51-
/// Returns or sets the dark mode controls of the main act.
51+
/// Gets or sets the dark mode controls of the main act.
5252
/// This property allows access to the controls in the main act or assigns a new control to it.
5353
/// </summary>
5454
public IEnumerable<IControl> DarkControls
@@ -58,7 +58,7 @@ public IEnumerable<IControl> DarkControls
5858
}
5959

6060
/// <summary>
61-
/// Returns or sets the example code associated with the main act.
61+
/// Gets or sets the example code associated with the main act.
6262
/// This property allows for the retrieval or assignment of the code snippet
6363
/// that represents the Main Act's functionality or behavior.
6464
/// </summary>
@@ -69,22 +69,22 @@ public string Code
6969
}
7070

7171
/// <summary>
72-
/// Returns the collection of property acts associated with the stage.
72+
/// Gets the collection of property acts associated with the stage.
7373
/// </summary>
7474
public IEnumerable<Act> PropertyActs => _propertyActs;
7575

7676
/// <summary>
77-
/// Returns the collection of item acts associated with the stage.
77+
/// Gets the collection of item acts associated with the stage.
7878
/// </summary>
7979
public IEnumerable<Act> ItemActs => _itemActs;
8080

8181
/// <summary>
82-
/// Returns the collection of item acts associated with the stage.
82+
/// Gets the collection of item acts associated with the stage.
8383
/// </summary>
8484
public IEnumerable<Act> ItemPropertyActs => _itemPropertyActs;
8585

8686
/// <summary>
87-
/// Returns the collection of events associated with the stage.
87+
/// Gets the collection of events associated with the stage.
8888
/// </summary>
8989
public IEnumerable<Event> Events => _events;
9090

src/WebUI/Model/ViewModel.cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,38 +11,38 @@ namespace WebExpress.Tutorial.WebUI.Model
1111
public static class ViewModel
1212
{
1313
/// <summary>
14-
/// Returns a collection of sample table data.
14+
/// Gets a collection of sample table data.
1515
/// </summary>
1616
public static List<Character> MonkeyIslandCharacters { get; } = [.. GetMonkeyIslandCharacters()];
1717

1818
/// <summary>
19-
/// Returns the list of inventories available in Monkey Island.
19+
/// Gets the list of inventories available in Monkey Island.
2020
/// </summary>
2121
public static List<Inventory> MonkeyIslandInventories { get; } = [.. GetMonkeyIslandInventories()];
2222

2323
/// <summary>
24-
/// Returns the list of predefined locations in Monkey Island.
24+
/// Gets the list of predefined locations in Monkey Island.
2525
/// </summary>
2626
public static List<Location> MonkeyIslandLocations { get; } = [.. GetMonkeyIslandLocations()];
2727

2828
/// <summary>
29-
/// Returns a list of Monkey Island games.
29+
/// Gets a list of Monkey Island games.
3030
/// </summary>
3131
public static List<Game> MonkeyIslandGames { get; } = [.. GetMonkeyIslandGames()];
3232

3333
/// <summary>
34-
/// Returns a read-only list of quick filter games related to the
34+
/// Gets a read-only list of quick filter games related to the
3535
/// Monkey Island series.
3636
/// </summary>
3737
public static List<QuickfilterGame> MonkeyIslandQuickfilterGames { get; } = [.. GetMonkeyIslandQuickfilterGames()];
3838

3939
/// <summary>
40-
/// Returns the list of curses associated with Monkey Island.
40+
/// Gets the list of curses associated with Monkey Island.
4141
/// </summary>
4242
public static List<Curse> MonkeyIslandCurses { get; } = [.. GetMonkeyIslandCurses()];
4343

4444
/// <summary>
45-
/// Returns the list of groups associated with Monkey Island.
45+
/// Gets the list of groups associated with Monkey Island.
4646
/// </summary>
4747
public static List<Group> MonkeyIslandGroups { get; } = [.. GetMonkeyIslandGroups()];
4848

0 commit comments

Comments
 (0)