📄 messageinfo.cs
字号:
namespace ASPNET.StarterKit.Communities {
using System;
//*********************************************************************
//
// MessageInfo Class
//
// Represents an individual message.
//
//*********************************************************************
public class MessageInfo {
string _name;
string _description;
string _title;
string _body;
//*********************************************************************
//
// Name Property
//
// Specifies the name of the message. The name is used
// to uniquely identify the message.
//
//*********************************************************************
public string Name {
get {return _name;}
set {_name = value;}
}
//*********************************************************************
//
// Description Property
//
// Specifies the message description. The description
// explains the purpose of the message.
//
//*********************************************************************
public string Description {
get {return _description;}
set {_description = value;}
}
//*********************************************************************
//
// Title Property
//
// Specifies the title of the message. The title
// appears in the browser title bar and as the subject line
// for email messages.
//
//*********************************************************************
public string Title {
get {return _title;}
set {_title = value;}
}
//*********************************************************************
//
// Body Property
//
// Specifies the body of the message. This is the text
// that appears in the body of the page or the body of
// an email message.
//
//*********************************************************************
public string Body {
get {return _body;}
set {_body = value;}
}
//*********************************************************************
//
// MessageInfo Constructor
//
// Initializes a new instance of the MessageInfo object.
//
//*********************************************************************
public MessageInfo() {}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -