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
파일 보기 프로젝트 열기: ChrisHammond/dnnCHAT

공개 메소드들

메소드 설명
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