topicinfo.cs
来自「完全网站系统」· CS 代码 · 共 89 行
CS
89 行
namespace ASPNET.StarterKit.Communities {
using System;
//*********************************************************************
//
// TopicInfo Class
//
// Represents all information about a particular topic.
//
//*********************************************************************
public class TopicInfo {
int _id = -1;
string _name = String.Empty;
string _image = String.Empty;
string _description = String.Empty;
//*********************************************************************
//
// ID Property
//
// Represents the ID of a topic.
//
//*********************************************************************
public int ID {
get {return _id;}
set {_id=value;}
}
//*********************************************************************
//
// ID Property
//
// Represents the ID of a topic.
//
//*********************************************************************
public string Name {
get {return _name;}
set {_name = value;}
}
//*********************************************************************
//
// Description Property
//
// Represents the description of a topic.
//
//*********************************************************************
public string Description {
get {return _description;}
set {_description = value;}
}
//*********************************************************************
//
// Image Property
//
// Represents the name of an image associated with the topic.
//
//*********************************************************************
public string Image {
get {return _image;}
set {_image = value;}
}
//*********************************************************************
//
// TopicInfo Constructor
//
// Initializes TopicInfo.
//
//*********************************************************************
public TopicInfo() {}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?