⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 serviceresponseinfo.cs

📁 一个ASP.NET下的中文内容管理和社区系统
💻 CS
字号:
namespace ASPNET.StarterKit.Communities.Services {

    using System;
    using System.Collections;
    using System.Web.UI.WebControls;



    //*********************************************************************
    //
    // ServiceResponseInfo Class
    //
    // Represents the response from a service including
    // the response from a community Web service and a RSS service.
    //
    //*********************************************************************
  
    public class ServiceResponseInfo {
    
        string _serviceTitle = String.Empty;
        string _serviceLink = String.Empty;
        string _serviceDescription = String.Empty;
        string _serviceCopyright = String.Empty;
        string _serviceImageTitle = String.Empty;
        string _serviceImageUrl = String.Empty;
        string _serviceImageLink = String.Empty;
        DateTime _dateLastRefreshed;
        
        ArrayList _items = new ArrayList(); 



        //*********************************************************************
        //
        // Title Property
        //
        // Represents the title of the service.
        //
        //*********************************************************************
      
        public string ServiceTitle {
            get {return _serviceTitle;}
            set {_serviceTitle = value;}
        }


        //*********************************************************************
        //
        // ServiceLink Property
        //
        // Represents the URL of the service.
        //
        //*********************************************************************
          
        public string ServiceLink {
            get {return _serviceLink;}
            set {_serviceLink = value;}
        }


        //*********************************************************************
        //
        // ServiceDescription Property
        //
        // Represents the description of the service.
        //
        //*********************************************************************
  
        public string ServiceDescription {
            get {return _serviceDescription;}
            set {_serviceDescription = value;}
        }


        //*********************************************************************
        //
        // ServiceCopyright Property
        //
        // Represents copyright information associated with the service.
        //
        //*********************************************************************
  
        public string ServiceCopyright {
            get {return _serviceCopyright;}
            set {_serviceCopyright = value;}
        }


        //*********************************************************************
        //
        // ServiceImageTitle Property
        //
        // Represents the text associated with the service image.
        //
        //*********************************************************************
  
        public string ServiceImageTitle {
            get {return _serviceImageTitle;}
            set {_serviceImageTitle = value;}
        }


        //*********************************************************************
        //
        // ServiceImageUrl Property
        //
        // Represents the URL of an image associated with the service.
        //
        //*********************************************************************
  
        public string ServiceImageUrl {
            get {return _serviceImageUrl;}
            set {_serviceImageUrl = value;}
        }
        

        //*********************************************************************
        //
        // ServiceImageLink Property
        //
        // Represents a URL associated with a service image.
        //
        //*********************************************************************
          
        public string ServiceImageLink {
            get {return _serviceImageLink;}
            set {_serviceImageLink = value;}
        }



        //*********************************************************************
        //
        // DateLastRefreshed Property
        //
        // Represents the date and time the service was last refreshed.
        //
        //*********************************************************************
          
        public DateTime DateLastRefreshed {
            get {return _dateLastRefreshed;}
            set {_dateLastRefreshed = value;}
        }
        

        //*********************************************************************
        //
        // Items Property
        //
        // Represents the content items returned by the service.
        //
        //*********************************************************************
          
        public ArrayList Items {
            set {_items = value;}
            get {return _items;}
        }


        //*********************************************************************
        //
        // ServiceResponseInfo Constructor
        //
        // Initializes a new instance of the ServiceResponseInfo class.
        //
        //*********************************************************************
  
        public ServiceResponseInfo() {}
    }
}

⌨️ 快捷键说明

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