issuecount.cs
来自「BugNET is an issue tracking and project 」· CS 代码 · 共 82 行
CS
82 行
using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
namespace BugNET.BusinessLogicLayer
{
public class IssueCount
{
private object _Id;
private string _Name;
private int _Count;
private string _ImageUrl;
/// <summary>
/// Initializes a new instance of the <see cref="IssueCount"/> class.
/// </summary>
/// <param name="id">The id.</param>
/// <param name="name">The name.</param>
/// <param name="count">The count.</param>
public IssueCount(object id, string name, int count, string imageUrl)
{
_Id = id;
_Name = name;
_Count = count;
_ImageUrl = imageUrl;
}
/// <summary>
/// Initializes a new instance of the <see cref="IssueCount"/> class.
/// </summary>
/// <param name="name">The name.</param>
/// <param name="count">The count.</param>
public IssueCount(string name, int count)
: this(-1, name, count, string.Empty)
{ }
/// <summary>
/// Gets the id.
/// </summary>
/// <value>The id.</value>
public object Id
{
get { return _Id; }
}
/// <summary>
/// Gets the count.
/// </summary>
/// <value>The count.</value>
public int Count
{
get { return _Count; }
}
/// <summary>
/// Gets the name.
/// </summary>
/// <value>The name.</value>
public string Name
{
get { return _Name; }
}
/// <summary>
/// Gets the image URL.
/// </summary>
/// <value>The image URL.</value>
public string ImageUrl
{
get { return _ImageUrl; }
}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?