?? icommenttask.cs
字號:
/*
* ICommentTask.cs @Microsoft Visual Studio 2005 <.NET Framework 2.0>
* AfritXia
* 2007-12-05
*
* Copyright(c) http://www.AfritXia.NET/
*
*/
using System;
using System.Collections.Generic;
using NET.AfritXia.MyHome.Model.Message;
namespace NET.AfritXia.MyHome.DBTask.Definition
{
/// <summary>
/// 評論任務(wù)接口
/// </summary>
public interface ICommentTask : IDBTask
{
/// <summary>
/// 添加新評論
/// </summary>
/// <param name="newComment">新評論</param>
void Append(Comment newComment);
/// <summary>
/// 刪除評論
/// </summary>
/// <param name="commentUID">要刪除的評論 ID</param>
void Delete(int commentUID);
/// <summary>
/// 瀏覽評論列表
/// </summary>
/// <param name="belongToArticleUID">所屬文章 ID</param>
/// <returns></returns>
IList<Comment> ViewCommentList(int belongToArticleUID);
/// <summary>
/// 瀏覽評論
/// </summary>
/// <param name="commentUID">評論 ID</param>
/// <returns></returns>
Comment ViewComment(int commentUID);
}
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -