首页 新闻 会员 周边

用stylecop检查代码,总是说注释有问题,园子的大大们帮忙看看哪里不对?

0
悬赏园豆:200 [已解决问题] 解决于 2015-05-20 16:12
#region 判断扫描数据是否合法数据,返回标签类型
///<summary>
///判断扫描数据是否合法数据,返回标签类型
///</summary>
///<param name="strScan">返回标签类型</param>
///<returens>标签类型</returns>
public string myScanData(string strScan)
{
......
}
#endregion

用Stylecop扫描,提示:

The documentation text within the summary tag does not contain any whitespace between words,indicating that it most likely does not follow a proper grammatical structure required for documentation text.

The documentation text within the param tag must be at least 10 characters in length. Documentation failing to meet this guideline most likely does not follow a proper grammatical structure required for documentation text.

因为项目必须用stylecop. 所以没办法啊, 这个问题需要怎么fix呢?

不是一个人在战斗的主页 不是一个人在战斗 | 初学一级 | 园豆:22
提问于:2015-05-20 15:37
< >
分享
最佳答案
1

屏蔽掉SA1650这个提示

收获园豆:200
请叫我头头哥 | 大侠五级 |园豆:9382 | 2015-05-20 16:08
其他回答(2)
0

请联系我,我有针对中文优化的版本

枉然不供 | 园豆:202 (菜鸟二级) | 2015-05-21 15:48

http://pan.baidu.com/s/1jG5VOyi

支持(0) 反对(0) 枉然不供 | 园豆:202 (菜鸟二级) | 2015-05-21 15:53
0
/// <summary>
/// 任务编号:010
/// 服务器端----
/// 报文编号:
/// </summary>

 

NY-6000 | 园豆:202 (菜鸟二级) | 2015-05-22 14:47
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册