messageinfo.cs

来自「完全网站系统」· CS 代码 · 共 96 行

CS
96
字号
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 + =
减小字号Ctrl + -
显示快捷键?