SDK 參考

支持平台:

.NET Framework 4.0,.NET Framework 4.5,.NET Core 5.0。

public typedescription
class ContentEventArgs爲(wéi / wèi)内容操作事件提供數據
class ContentFormLoadEventArgs爲(wéi / wèi)内容編輯(新增)頁面的(de)載入事件提供數據
delegate ContentFormLoadEventHandler表示将用于(yú)處理内容編輯(新增)頁面的(de)載入事件的(de)方法
class ContentFormSubmitEventArgs爲(wéi / wèi)内容編輯(新增)頁面的(de)提交事件提供數據
class ContentTranslateEventArgs爲(wéi / wèi)内容轉移事件提供數據
static class Context封裝系統上(shàng)下文相關信息
class DatabaseType系統支持的(de)數據庫類型
class DatabaseTypeConverter字符串與DatabaseType轉換類
class DataType系統支持的(de)數據庫數據類型
class DataTypeConverter字符串與DataType轉換類
interface IAccessTokenAccess Token接口
interface IAdminApi管理員及權限Api接口
interface IAdministratorInfo管理員實體接口。 對應數據庫中的(de)xycms_Administrator表
interface IApiCollection插件可調用的(de)Api集合接口
interface IAttributes可擴展屬性的(de)對象接口。 系統以(yǐ)鍵/值對的(de)方式存儲數據,鍵不(bù)區分大(dà)小寫
interface IChannelApi欄目Api接口
interface IChannelInfo欄目實體接口。 對應數據庫中的(de)xycms_Channel表
interface IConfigApi插件及系統配置Api接口
interface IContentApi内容Api接口
interface IContentContext内容事件關聯的(de)上(shàng)下文
interface IContentInfo内容實體接口。 内容表默認名稱爲(wéi / wèi)model_Content,XYCMS 後台可以(yǐ)新建新的(de)内容表,或者修改現有内容表的(de)字段
interface IDatabaseApi數據庫操作Api接口
interface IEnvironment插件運行環境接口
interface IJobContext包含XYCMS Cli命令行執行任務時(shí)的(de)上(shàng)下文信息
interface ILogInfo日志實體接口
interface IMetadata插件元數據接口
class Initializer插件初始化類,此類的(de)方法由系統調用,在(zài)插件開發時(shí)請勿直接使用
class InputListItem表示列表中的(de)數據項
class InputStyle表示表單的(de)輸入樣式
class InputType表單的(de)輸入類型
class InputTypeConverter字符串與InputType轉換類
interface IParseApiSTL解析Api接口
interface IParseContextSTL解析上(shàng)下文
interface IPermissions登錄賬号的(de)權限
interface IPluginApi插件Api接口
interface IRequest訪問插件時(shí)的(de)認證請求
interface IService插件服務注冊接口。 插件服務注冊接口是(shì)插件機制的(de)核心,用于(yú)定義插件能夠提供的(de)各種服務,一(yī / yì /yí)個(gè)方法對應一(yī / yì /yí)個(gè)事件或者一(yī / yì /yí)個(gè)功能
interface ISiteApi站點Api接口
interface ISiteInfo站點實體接口。 對應數據庫中的(de)xycms_Site表
interface IUserApi用戶Api接口
interface IUserInfo用戶實體接口
interface IUtilsApi工具類Api接口
class Menu插件菜單。 插件菜單可顯示在(zài)系統頭部、左側或者内容列表中
class ParseEventArgs爲(wéi / wèi)STL解析事件提供數據
abstract class PluginBase插件父類,所有插件必須繼承此類并實現Startup方法
class RestApiEventArgsRest Api
delegate RestApiEventHandler表示将用于(yú)處理Rest Api請求事件的(de)方法
class TableColumn數據庫表字段信息
class TemplateType系統支持的(de)模闆類型
class TemplateTypeConverter字符串與TemplateType轉換類
class ValidateType表單輸入的(de)驗證規則類型
class ValidateTypeConverter字符串與ValidateType轉換類