Click or drag to resize

ProfileOptions<PROFILESETTINGSTYPE> Class

Inheritance Hierarchy
System.Object
  CTExtensions.Interfaces.ProfileOptionsExtension
    CTExtensions.ExportCore.EXTs.ProfileOptions<PROFILESETTINGSTYPE>

Namespace: CTExtensions.ExportCore.EXTs
Assembly: CTInterface (in CTInterface.dll) Version: 25.0
Syntax
public class ProfileOptions<PROFILESETTINGSTYPE> : ProfileOptionsExtension
where PROFILESETTINGSTYPE : new(), SettingsObject

Type Parameters

PROFILESETTINGSTYPE
Custom type derived from SettingsObject representing Profile settings.

The ProfileOptions<PROFILESETTINGSTYPE> type exposes the following members.

Constructors
 NameDescription
Public methodProfileOptions<PROFILESETTINGSTYPE>Initializes a new instance of the ProfileOptions<PROFILESETTINGSTYPE> 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 ProfileOptionsExtension.CreateControl())
Public methodGetParent Get Parent Extension
(Overrides ProfileOptionsExtension.GetParent())
Public methodGetSaveData Return data for the Core to save it for DB.
(Overrides ProfileOptionsExtension.GetSaveData(Boolean))
Public methodLoadData Load data provided by the Core and deserialize it into PROFILESETTINGSTYPE.
(Overrides ProfileOptionsExtension.LoadData(Byte[]))
Public methodRefresh Refresh the options page.
(Overrides ProfileOptionsExtension.Refresh())
Public methodValidate Validate content of the options page. Return false to prevent exit i.e. if something is defined wrong in the options.
(Overrides ProfileOptionsExtension.Validate())
Top
Revision History
DateVersionDescription
-2022 SP0First Release
-2025 SP1 Added overridable ClearCaches().
See Also