IEnvironment interface
插件運行環境接口。
public interface IEnvironment
1
Members
name | description |
---|---|
AdminDirectory { get; } | 系統後台文件夾名稱,默認爲(wéi / wèi)XYCMS。 |
ConnectionString { get; } | 系統使用的(de)數據庫連接字符串。 |
DatabaseType { get; } | 系統使用的(de)數據庫類型。 |
PhysicalApplicationPath { get; } | 網站根目錄文件夾地(dì / de)址。 |
Request { get; } | 獲取插件Url訪問請求IRequest。 當存在(zài)對插件的(de)HTTP訪問請求時(shí)(REST Api訪問、aspx頁面訪問等),返回IRequest實例;否則返回 null。 |