📄 topicinfo.cs
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -