Click or drag to resize

ExportTypeExtEXPORTSETTINGSTYPE, FIELDSETTINGS Class

Inheritance Hierarchy
SystemObject
  CTExtensions.InterfacesExportTypeExtension
    CTExtensions.ExportCore.EXTsExportTypeExtEXPORTSETTINGSTYPE, FIELDSETTINGS

Namespace: CTExtensions.ExportCore.EXTs
Assembly: CTInterface (in CTInterface.dll) Version: 25.0
Syntax
public class ExportTypeExt<EXPORTSETTINGSTYPE, FIELDSETTINGS> : ExportTypeExtension
where EXPORTSETTINGSTYPE : new(), ExportSettingsBase<FIELDSETTINGS>
where FIELDSETTINGS : new(), SettingsObject

Type Parameters

EXPORTSETTINGSTYPE
Custom type derived from ExportSettingsBaseFIELDSETTINGSTYPE representing Export Profile settings.
FIELDSETTINGS
Custom type derived from SettingsObject representing Export Profile Field settings.

The ExportTypeExtEXPORTSETTINGSTYPE, FIELDSETTINGS type exposes the following members.

Constructors
 NameDescription
Public methodExportTypeExtEXPORTSETTINGSTYPE, FIELDSETTINGSInitializes a new instance of the ExportTypeExtEXPORTSETTINGSTYPE, FIELDSETTINGS 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.
Public propertySettingsLoadedFor Accessor for which CTExportProfile the CurrentSettings is loaded.
Top
Methods
 NameDescription
Public methodClearCaches Call this to clear everything this object has cached.
Public methodExtraButtonClicked Handles [...] button click. Open new dialog for the ControlAdapterSETTINGSOBJECTTYPE returned by the class that derives from ExportSettingsBaseFIELDSETTINGSTYPE.
(Overrides ExportTypeExtensionExtraButtonClicked)
Public methodGetParent Parent Extension
(Overrides ExportTypeExtensionGetParent)
Public methodGetSettingsViewOpts If EXPORTSETTINGSTYPE is derived type of ExportSettingsBaseFIELDSETTINGSTYPE, then the export has custom data object and should enable the [...] button for accessing its view control.
(Overrides ExportTypeExtensionGetSettingsViewOpts)
Public methodInit Initializes this class for UI access.
(Overrides ExportTypeExtensionInit(CTExportProfile))
Public methodStatic memberLoadSettings Static helper for loading settings object from ICTExportProfile.
Public methodSave Handles saving the settings to database.
(Overrides ExportTypeExtensionSave)
Public methodStatic memberSaveSettings Static helper for saving settings object to ICTExportProfile.
Top
Revision History
DateVersionDescription
-2022 SP0First Release
-2025 SP1 Added overridable ClearCaches.
Added SettingsLoadedFor accessor.
See Also