📄 download.cs
字号:
namespace ASPNET.StarterKit.Communities.Downloads {
using System;
using System.Web.UI;
using System.Web.UI.WebControls;
using ASPNET.StarterKit.Communities;
//*********************************************************************
//
// Download Class
//
// Represents information about a downloadable file
//
// _skinFileName = the name of the skin to use for this section
//
// _getContentItem = the name of the method that retrieves the content item
//
//*********************************************************************
public class Download : ContentItemPage {
string _skinFileName = "Downloads_Download.ascx";
GetContentItemDelegate _getContentItem = new GetContentItemDelegate(DownloadsUtility.GetDownloadInfo);
//*********************************************************************
//
// Article Constructor
//
// Assigns skin and contentItems method to base ContentItemPage class
//
//*********************************************************************
public Download() : base() {
SkinFileName = _skinFileName;
GetContentItem = _getContentItem;
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -