Context class
封裝系統上(shàng)下文相關信息
public static class Context
1
Public Members
name | description |
---|---|
static AdminApi { get; } | 管理員及權限Api接口。 |
static AdminDirectory { get; } | 系統後台文件夾名稱,默認爲(wéi / wèi)XYCMS。 |
static ChannelApi { get; } | 欄目Api接口。 |
static ConfigApi { get; } | 插件及系統配置Api接口。 |
static ConnectionString { get; } | 系統使用的(de)數據庫連接字符串。 |
static ContentApi { get; } | 内容Api接口。 |
static DatabaseApi { get; } | 數據庫操作Api接口。 |
static DatabaseType { get; } | 系統使用的(de)數據庫類型。 |
static ParseApi { get; } | STL解析Api接口。 |
static PhysicalApplicationPath { get; } | 網站根目錄文件夾地(dì / de)址。 |
static PluginApi { get; } | 插件Api接口。 |
static Request { get; } | 獲取插件Url訪問請求IRequest。 當存在(zài)對插件的(de)HTTP訪問請求時(shí)(REST Api訪問、頁面訪問等),返回IRequest實例;否則返回 null。 |
static SiteApi { get; } | 站點Api接口。 |
static UserApi { get; } | 用戶Api接口。 |
static UtilsApi { get; } | 工具類Api接口。 |
static Initialize(…) | 初始化上(shàng)下文 |