📄 tool.cs
字号:
using System;
using System.Collections.Generic;
using System.Web;
namespace DNNLite.DesktopModules.Comment
{
/// <summary>
///Tool
/// </summary>
public class Tool
{
/// <summary>
/// 返回评论的URL
/// </summary>
/// <param name="commenttabid" >评论所在页</param>
/// <param name="sourcecommentkey">评论key</param>
/// <param name="sourcetabmoduleid">源tabmoduleid</param>
/// <returns></returns>
public static string GetCommentLink(int commenttabid, string sourcecommentkey,int sourcetabmoduleid )
{
return DNNLite.Comm.Comm.NavigateURL(commenttabid,
"sourcetabmoduleid=" + sourcetabmoduleid,
"sourcecommentkey=" + sourcecommentkey);
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -