Sandcastle 未添加参数文档

发布于 2024-10-09 13:58:58 字数 1414 浏览 6 评论 0原文

我的方法如下所示

    ''' <summary>
    ''' Adds the activity.
    ''' </summary>
    ''' <param name="userid">An  that is derived from the <see cref="Domain.User.ID" /></param>
    ''' <param name="activity">The activity integer that is to be derived from the <see cref="ActivityLogService.LogType" />.</param>
    ''' <param name="ip">An IP V4 IP Address.</param>integer
    ''' <remarks></remarks>
    Public Sub AddActivity(ByVal userid As Integer, ByVal activity As Integer, ByVal ip As String) Implements IActivityLogService.AddActivity
        Dim _activity As ActivityLog = New ActivityLog
        _activity.Activity = activity
        _activity.UserID = userid
        _activity.UserIP = ip.IPAddressToNumber
        _activity.ActivityDate = DateTime.UtcNow

        ActivityLogRepository.AddActivity(_activity)
    End Sub

但是当我运行 Sandcastle 时,我的文档最终看起来像这样

用户ID 类型:系统..::..Int32

[缺少“M:myapp.Core.Domain.ActivityLogService.AddActivity(System.Int32,System.Int32,System.String)”的文档]

活动 类型:系统..::..Int32

[缺少“M:myapp.Core.Domain.ActivityLogService.AddActivity(System.Int32,System.Int32,System.String)”的文档]

IP 类型:系统..::..字符串

[缺少“M:myapp.Core.Domain.ActivityLogService.AddActivity(System.Int32,System.Int32,System.String)”的文档]

我做错了什么?

My method looks as follows

    ''' <summary>
    ''' Adds the activity.
    ''' </summary>
    ''' <param name="userid">An  that is derived from the <see cref="Domain.User.ID" /></param>
    ''' <param name="activity">The activity integer that is to be derived from the <see cref="ActivityLogService.LogType" />.</param>
    ''' <param name="ip">An IP V4 IP Address.</param>integer
    ''' <remarks></remarks>
    Public Sub AddActivity(ByVal userid As Integer, ByVal activity As Integer, ByVal ip As String) Implements IActivityLogService.AddActivity
        Dim _activity As ActivityLog = New ActivityLog
        _activity.Activity = activity
        _activity.UserID = userid
        _activity.UserIP = ip.IPAddressToNumber
        _activity.ActivityDate = DateTime.UtcNow

        ActivityLogRepository.AddActivity(_activity)
    End Sub

But when I run Sandcastle, my documentation ends up looking like this

userid
Type: System..::..Int32

[Missing documentation for "M:myapp.Core.Domain.ActivityLogService.AddActivity(System.Int32,System.Int32,System.String)"]

activity
Type: System..::..Int32

[Missing documentation for "M:myapp.Core.Domain.ActivityLogService.AddActivity(System.Int32,System.Int32,System.String)"]

ip
Type: System..::..String

[Missing documentation for "M:myapp.Core.Domain.ActivityLogService.AddActivity(System.Int32,System.Int32,System.String)"]

What am I doing wrong?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

冰雪梦之恋 2024-10-16 13:58:58

好吧,我明白了。我将构建设置为“发布”,Sandcastle 正在选择没有新注释的“旧”调试构建。

Ok, I figured it out. I had the build set to "release" and Sandcastle was picking up the "old" debug build that didn't have the new comments.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文