C# Класс Christoc.Modules.DnnChat.Settings

The Settings class manages Module Settings Typically your settings control would be used to manage settings for your module. There are two types of settings, ModuleSettings, and TabModuleSettings. ModuleSettings apply to all "copies" of a module on a site, no matter which page the module is on. TabModuleSettings apply only to the current module on the current page, if you copy that module to another page the settings are not transferred. If you happen to save both TabModuleSettings and ModuleSettings, TabModuleSettings overrides ModuleSettings. Below we have some examples of how to access these settings but you will need to uncomment to use. Because the control inherits from DnnChatSettingsBase you have access to any custom properties defined there, as well as properties from DNN such as PortalId, ModuleId, TabId, UserId and many more.
Наследование: DnnChatModuleSettingsBase
Показать файл Открыть проект

Открытые методы

Метод Описание
LoadSettings ( ) : void

LoadSettings loads the settings from the Database and displays them

UpdateSettings ( ) : void

UpdateSettings saves the modified settings to the Database

Описание методов

LoadSettings() публичный метод

LoadSettings loads the settings from the Database and displays them
public LoadSettings ( ) : void
Результат void

UpdateSettings() публичный метод

UpdateSettings saves the modified settings to the Database
public UpdateSettings ( ) : void
Результат void