Skip to content

Commit ee24c5b

Browse files
committed
[add] missing XML comments
[fix] wrong XML comments
1 parent 11063ed commit ee24c5b

3 files changed

Lines changed: 9 additions & 3 deletions

File tree

src/Simplify.Web/Model/HttpModelHandler.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,12 @@ namespace Simplify.Web.Model;
1313
/// <summary>
1414
/// Provides the model handling.
1515
/// </summary>
16-
/// <seealso cref="IModelHandler" />
16+
/// <seealso cref="Simplify.Web.Model.IModelHandler" />
1717
/// <remarks>
1818
/// Initializes a new instance of the <see cref="HttpModelHandler" /> class.
1919
/// </remarks>
20+
/// <seealso cref="IModelHandler" />
21+
/// <param name="resolver">The resolver.</param>
2022
/// <param name="context">The context.</param>
2123
public class HttpModelHandler(IDIResolver resolver, IWebContext context) : IModelHandler
2224
{

src/Simplify.Web/Page/Generation/PageGenerator.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ namespace Simplify.Web.Page.Generation;
66
/// <summary>
77
/// Provides the web-page HTML generator.
88
/// </summary>
9+
/// <seealso cref="IPageGenerator" />
910
/// <remarks>
1011
/// Initializes a new instance of the <see cref="PageGenerator" /> class.
1112
/// </remarks>
1213
/// <param name="templateFactory">The template factory.</param>
13-
/// <param name="dataCollector">The data collector.</param>
14-
/// <param name="IDynamicEnvironment">The environment.</param>
14+
/// <param name="environment">The environment.</param>
1515
public class PageGenerator(ITemplateFactory templateFactory, IDynamicEnvironment environment) : IPageGenerator
1616
{
1717
/// <summary>

src/Simplify.Web/StaticFiles/IO/StaticFile.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ public bool IsValidPath(string relativeFilePath)
3131
.Any(_ => File.Exists(sitePhysicalPath + relativeFilePath));
3232
}
3333

34+
/// <summary>
35+
/// Gets the file last modification time.
36+
/// </summary>
37+
/// <param name="relativeFilePath">The relative file path.</param>
3438
public DateTime GetLastModificationTime(string relativeFilePath) => File.GetLastWriteTimeUtc(sitePhysicalPath + relativeFilePath).TrimMilliseconds();
3539

3640
/// <summary>

0 commit comments

Comments
 (0)