Click or drag to resize

UserOptionsUSERSETTINGSTYPE Class

Inheritance Hierarchy
SystemObject
  CTExtensions.InterfacesUserOptionsExtension
    CTExtensions.ExportCore.EXTsUserOptionsUSERSETTINGSTYPE

Namespace: CTExtensions.ExportCore.EXTs
Assembly: CTInterface (in CTInterface.dll) Version: 25.0
Syntax
public class UserOptions<USERSETTINGSTYPE> : UserOptionsExtension
where USERSETTINGSTYPE : new(), SettingsObject

Type Parameters

USERSETTINGSTYPE
Custom type derived from SettingsObject representing User settings.

The UserOptionsUSERSETTINGSTYPE type exposes the following members.

Constructors
 NameDescription
Public methodUserOptionsUSERSETTINGSTYPEInitializes a new instance of the UserOptionsUSERSETTINGSTYPE class
Top
Properties
 NameDescription
Public propertyCurrentSettings Accessor for the last loaded settings object. Useful when settings access is needed for modified settings that are not yet saved. Value is loaded automatically but not cleared. User implementation can clear this e.g. on OnOptionsClosedNotify.
Top
Methods
 NameDescription
Public methodClearCaches Call this to clear everything this object has cached.
Public methodCreateControl Creates the Profile Options control
(Overrides UserOptionsExtensionCreateControl)
Public methodGetParent Get Parent Extension
(Overrides UserOptionsExtensionGetParent)
Public methodGetSaveData Return data for the Core to save it for DB.
(Overrides UserOptionsExtensionGetSaveData(Boolean))
Public methodInit Clear caches on init
(Overrides UserOptionsExtensionInit(CTUser))
Public methodLoadData Load data provided by the Core and deserialize it into USERSETTINGSTYPE.
(Overrides UserOptionsExtensionLoadData(Byte))
Public methodRefresh Refresh the User settings page.
(Overrides UserOptionsExtensionRefresh)
Public methodValidate Validate content of the User settings page. Return false to prevent exit i.e. if something is defined wrong.
(Overrides UserOptionsExtensionValidate)
Top
Revision History
DateVersionDescription
-2022 SP0First Release
-2025 SP1 Added overridable ClearCaches.
See Also