activityinfo.cs

来自「C#邮件代码库,用于邮件发送」· CS 代码 · 共 120 行

CS
120
字号
namespace ASPNET.StarterKit.Communities {

    using System;


    //*********************************************************************
    //
    // ActivityInfo Class
    //
    // Represents all information about a particular community activity.
    //
    //*********************************************************************

    public class ActivityInfo {

        int _id;
        DateTime _dateCreated;
        string _briefEntry;
        string _fullEntry;
        string _url;
        string _sectionName;



        //*********************************************************************
        //
        // ID Property
        //
        // Represents the ID of the activity. 
        //
        //*********************************************************************
        
        public int ID {
            get {return _id;}
            set {_id = value;}
        }
        
        
        //*********************************************************************
        //
        // DateCreated Property
        //
        // Represents the date and time of the activity. 
        //
        //*********************************************************************
        
        public DateTime DateCreated {
            get {return _dateCreated;}
            set {_dateCreated = value;}
        }


        //*********************************************************************
        //
        // BriefEntry Property
        //
        // Represents a descriptive name for the activity. 
        //
        //*********************************************************************
        public string BriefEntry {
            get {return _briefEntry;}
            set {_briefEntry = value;}
        }


        //*********************************************************************
        //
        // FullEntry Property
        //
        // Represents the full entry for the activity. 
        //
        //*********************************************************************
        public string FullEntry {
            get {return _fullEntry;}
            set {_fullEntry = value;}
        }
        

        //*********************************************************************
        //
        // Url Property
        //
        // Represents the URL associated with the activity. 
        //
        //*********************************************************************
        
        public string Url {
            get {return _url;}
            set {_url = value;}
        }
        

        //*********************************************************************
        //
        // SectionName Property
        //
        // Represents the name of the section where the activity occurred. 
        //
        //*********************************************************************
        
        public string SectionName {
            get {return _sectionName;}
            set {_sectionName = value;}
        }




        //*********************************************************************
        //
        // ActivityInfo Constructor
        //
        // Initializes a new instance of the ActivityInfo object. 
        //
        //*********************************************************************

        public ActivityInfo() {}
    }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?