We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
var content = `* **类型**、**属性**、**事件**、**方法**、**方法参数**,根据需要添加注释。 * 如果类型、属性、事件、方法、方法参数的名称已经是自解释(从命名就可以看出明确的意思)了,则不需要加注释;否则必须添加注释。 * 整个项目的有效注释率必须在20%以上。 * 注释的优先级为:工具类>业务逻辑类>实体类&查询条件类>Provider>SqlProvider。 * 注释语言必须准确、易懂、简洁。如果有能力,可使用中英双语进行注释 注释示例如下: ~~~ /// /// 分页数据封装 /// /// 分页数据的实体类型 [Serializable] public class PagingList : IPagingList { /// /// 构造函数 /// /// 分页的数据 /// 总记录数 /// 当前页码 /// 每页显示记录数 public PagingList(IReadOnlyList items, int totalCount, int pageIndex, int pageSize) { Items = items; TotalCount = totalCount; PageIndex = pageIndex; PageSize = pageSize; } /// /// 当前页码 /// public int PageIndex { get; set; } /// /// 每页显示记录数 /// public int PageSize { get; set; } /// /// 总记录数 /// public int TotalCount { get; set; } public IReadOnlyList Items { get; set; } /// /// 总页数 /// public int TotalPages { get { var result = TotalCount/PageSize; if (TotalCount%PageSize > 0) result++; return result; } } } ~~~`; /** * 内容解析 */ //parse.wxParse('md', _data.content, that); parse.wxParse('article', 'md', content, that,5);
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The text was updated successfully, but these errors were encountered: