📄 bbsentry.cs
字号:
#region Using Directives
using System;
using System.Collections.Generic;
#endregion
namespace Org.InteliIM.Applications.MiniTools.BBS
{
/// <summary>
/// Represents a BBS entry.
/// </summary>
public class BBSEntry: BBSEntryBase
{
/// <summary>
/// Initializes a new instance of the BBSEntry class.
/// </summary>
public BBSEntry()
{
}
private BBSEntryPriority priority = BBSEntryPriority.Normal;
/// <summary>
/// Gets or sets the priority.
/// </summary>
public BBSEntryPriority Priority
{
get
{
return this.priority;
}
set
{
this.priority = value;
}
}
private Collection<BBSRemark> remarks;
/// <summary>
/// Gets or sets the remarks collection.
/// </summary>
public Collection<BBSRemark> Remarks
{
get
{
if(this.remarks == null)
this.remarks = new Collection<BBSRemark>();
return this.remarks;
}
set
{
this.remarks = value;
}
}
/// <summary>
/// Gets or sets the associated remarks count.
/// </summary>
public long RemarksCount
{
get
{
return this.Remarks.Count;
}
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -