Click or drag to resize

CTObjectGuardE, O, S Class

This is basic ObjectEditGuard that can be used with settings objects deriving from CTObjectTaggedSettingsO. This class is used with CTObjectDataHandlerE, O, S.
Inheritance Hierarchy
SystemObject
  CTExtensions.InterfacesObjectEditGuard
    CTExtensions.ExportCore.CTObjectDataCTObjectGuardE, O, S

Namespace: CTExtensions.ExportCore.CTObjectData
Assembly: CTInterface (in CTInterface.dll) Version: 25.0
Syntax
public class CTObjectGuard<E, O, S> : ObjectEditGuard
where E : 
where O : 
where S : new(), CTObjectTaggedSettings<O>

Type Parameters

E
Extension Type
O
CT Core Object Type
S
Settings Object Type

The CTObjectGuardE, O, S type exposes the following members.

Constructors
 NameDescription
Public methodCTObjectGuardE, O, SInitializes a new instance of the CTObjectGuardE, O, S class
Top
Properties
 NameDescription
Public propertyObjectOwner The data handler for which the necessary events are passed.
Top
Methods
 NameDescription
Public methodApplyEdit Basic implementation that captures the event when user attempts to save owned object. Passes the event to the ObjectOwner.
(Overrides ObjectEditGuardApplyEdit(ctEditGuardObjectType, ICTObject, Int64))
Public methodClearCaches Clear Caches.
Public methodEnterEdit Basic implementation that capture the event when user attempts to edit owned object. Passes the event to the ObjectOwner.
(Overrides ObjectEditGuardEnterEdit(Boolean, ctEditGuardObjectType, ICTObject, Int64))
Public methodGetParent Required by the framework.
(Overrides ObjectEditGuardGetParent)
Public methodInit Init function that must be called immediately after creation of this object.
Public methodPreDelete Basic implementation that captures the event when user attempts to delete owned object. Passes the event to the ObjectOwner.
(Overrides ObjectEditGuardPreDelete(ctEditGuardObjectType, ICTObject, Int64))
Top
Revision History
DateVersionDescription
-2025 SP1First Release
See Also