Skip to content

Commit 3152061

Browse files
committed
[add] missing XML comments
[r] namepsaces
1 parent 5483cfa commit 3152061

72 files changed

Lines changed: 338 additions & 40 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

src/Simplify.Web.Tests/Views/ViewFactoryTests.cs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,15 @@
44
using NUnit.Framework;
55
using Simplify.DI;
66
using Simplify.DI.Provider.DryIoc;
7-
using Simplify.Web.Controllers;
8-
using Simplify.Web.Controllers.V1.Metadata;
9-
using Simplify.Web.Controllers.V2.Execution;
107
using Simplify.Web.Modules.ApplicationEnvironment;
118
using Simplify.Web.Modules.Context;
129
using Simplify.Web.Modules.Data;
1310
using Simplify.Web.Modules.Data.Html;
1411
using Simplify.Web.Modules.Localization;
15-
using Simplify.Web.Modules.Redirection;
1612
using Simplify.Web.Tests.Views.TestViews;
1713
using Simplify.Web.Views;
1814

19-
namespace Simplify.Web.Tests.Controllers.V2.Execution;
15+
namespace Simplify.Web.Tests.Views;
2016

2117
[TestFixture]
2218
public class ViewFactoryTests

src/Simplify.Web.sln.DotSettings

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=DI/@EntryIndexedValue">DI</s:String>
33
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=ID/@EntryIndexedValue">ID</s:String>
44
<s:Boolean x:Key="/Default/Environment/SettingsMigration/IsMigratorApplied/=JetBrains_002EReSharper_002EFeatures_002EReSpeller_002ESettings_002EReSpellerSettingsMigration/@EntryIndexedValue">True</s:Boolean>
5+
<s:Boolean x:Key="/Default/GrammarAndSpelling/GrammarChecking/Exceptions/=Simplify_002EDI/@EntryIndexedValue">True</s:Boolean>
56
<s:Boolean x:Key="/Default/ReSpeller/UserDictionaries/=en_005Fus/@KeyIndexDefined">True</s:Boolean>
67
<s:Boolean x:Key="/Default/ReSpeller/UserDictionaries/=en_005Fus/Words/=Accessors/@EntryIndexedValue">True</s:Boolean>
78
<s:Boolean x:Key="/Default/ReSpeller/UserDictionaries/=en_005Fus/Words/=async/@EntryIndexedValue">True</s:Boolean>

src/Simplify.Web/ActionModulesAccessor.cs

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,25 +13,40 @@ public abstract class ActionModulesAccessor : ModulesAccessor
1313
/// <summary>
1414
/// Gets the current web context
1515
/// </summary>
16+
/// <value>
17+
/// The context.
18+
/// </value>
1619
public virtual IWebContext Context { get; internal set; } = null!;
1720

1821
/// <summary>
1922
/// Gets the data collector.
2023
/// </summary>
24+
/// <value>
25+
/// The data collector.
26+
/// </value>
2127
public virtual IDataCollector DataCollector { get; internal set; } = null!;
2228

2329
/// <summary>
2430
/// Gets the redirector.
2531
/// </summary>
32+
/// <value>
33+
/// The redirector.
34+
/// </value>
2635
public virtual IRedirector Redirector { get; internal set; } = null!;
2736

2837
/// <summary>
2938
/// Gets the language manager.
3039
/// </summary>
40+
/// <value>
41+
/// The language manager.
42+
/// </value>
3143
public virtual ILanguageManager LanguageManager { get; internal set; } = null!;
3244

3345
/// <summary>
3446
/// Gets the text files reader.
3547
/// </summary>
48+
/// <value>
49+
/// The file reader.
50+
/// </value>
3651
public virtual IFileReader FileReader { get; internal set; } = null!;
3752
}

src/Simplify.Web/AsyncController.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@
33
/// <summary>
44
/// Provides the user asynchronous controllers base class version 1.
55
/// </summary>
6+
/// <seealso cref="AsyncControllerBase" />
67
public abstract class AsyncController : AsyncControllerBase;

src/Simplify.Web/AsyncControllerBase.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ namespace Simplify.Web;
55
/// <summary>
66
/// Provides the asynchronous controllers base class.
77
/// </summary>
8+
/// <seealso cref="ControllerBase" />
89
public abstract class AsyncControllerBase : ControllerBase
910
{
1011
/// <summary>

src/Simplify.Web/AsyncController{T}.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ namespace Simplify.Web;
99
/// <summary>
1010
/// Provides the user asynchronous model controllers base class version 1.
1111
/// </summary>
12+
/// <typeparam name="T">The model type</typeparam>
13+
/// <seealso cref="AsyncControllerBase" />
1214
public abstract class AsyncController<T> : AsyncControllerBase
1315
where T : class
1416
{
@@ -17,6 +19,9 @@ public abstract class AsyncController<T> : AsyncControllerBase
1719
/// <summary>
1820
/// Gets the model (and reads it synchronously, if it is null) of a current request.
1921
/// </summary>
22+
/// <value>
23+
/// The model.
24+
/// </value>
2025
public virtual T Model
2126
{
2227
get

src/Simplify.Web/Attributes/AuthorizeAttribute.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ namespace Simplify.Web.Attributes;
77
/// <summary>
88
/// Indicates whether the controller requires user authorization.
99
/// </summary>
10+
/// <seealso cref="Attribute" />
1011
[AttributeUsage(AttributeTargets.Class)]
1112
public class AuthorizeAttribute : Attribute
1213
{
@@ -20,7 +21,7 @@ public AuthorizeAttribute(string? requiredUserRoles = null) =>
2021
: [];
2122

2223
/// <summary>
23-
/// Initializes a new instance of the <see cref="AuthorizeAttribute"/> class.
24+
/// Initializes a new instance of the <see cref="AuthorizeAttribute" /> class.
2425
/// </summary>
2526
/// <param name="requiredUserRoles">The required user roles.</param>
2627
public AuthorizeAttribute(params string[] requiredUserRoles) => RequiredUserRoles = requiredUserRoles;

src/Simplify.Web/Attributes/ControllerRouteAttribute.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@ namespace Simplify.Web.Attributes;
55
/// <summary>
66
/// Sets the controller request route path.
77
/// </summary>
8+
/// <seealso cref="Attribute" />
89
/// <remarks>
9-
/// Initializes a new instance of the <see cref="GetAttribute"/> class.
10+
/// Initializes a new instance of the <see cref="GetAttribute" /> class.
1011
/// </remarks>
1112
/// <param name="route">The route.</param>
1213
[AttributeUsage(AttributeTargets.Class)]

src/Simplify.Web/Attributes/DeleteAttribute.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@ namespace Simplify.Web.Attributes;
55
/// <summary>
66
/// Sets the controller HTTP DELETE request route path.
77
/// </summary>
8+
/// <seealso cref="ControllerRouteAttribute" />
89
/// <remarks>
9-
/// Initializes a new instance of the <see cref="DeleteAttribute"/> class.
10+
/// Initializes a new instance of the <see cref="DeleteAttribute" /> class.
1011
/// </remarks>
1112
/// <param name="route">The route.</param>
1213
[AttributeUsage(AttributeTargets.Class)]

src/Simplify.Web/Attributes/GetAttribute.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@ namespace Simplify.Web.Attributes;
55
/// <summary>
66
/// Sets the controller HTTP GET request route path.
77
/// </summary>
8+
/// <seealso cref="ControllerRouteAttribute" />
89
/// <remarks>
9-
/// Initializes a new instance of the <see cref="GetAttribute"/> class.
10+
/// Initializes a new instance of the <see cref="GetAttribute" /> class.
1011
/// </remarks>
1112
/// <param name="route">The route.</param>
1213
[AttributeUsage(AttributeTargets.Class)]

0 commit comments

Comments
 (0)