Sandcastle 未添加参数文档
我的方法如下所示
''' <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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
好吧,我明白了。我将构建设置为“发布”,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.