Click or drag to resize
TrackableT Class
Defines a base class for the classes that can be tracked
Inheritance Hierarchy

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 9.0.0
Syntax
C#
public class Trackable<T> : DisposableObject
where T : Trackable<T>

Type Parameters

T

The TrackableT type exposes the following members.

Constructors
Fields
  NameDescription
Public fieldStatic memberTrack
If true, the tracking of this type is enabled. Default false, configurable with web.config key CMSTrack[TypeName].
Protected fieldStatic memberTypeName
Type name
Top
Methods
  NameDescription
Public methodCallOnDispose
Adds the given action to the list of actions called when the handler object is disposed
(Inherited from DisposableObject.)
Public methodDispose
Make sure the objects get disposed
(Inherited from DisposableObject.)
Public methodLock
Locks the event on the given lock object. The context stays locked until the handler is disposed.
(Inherited from DisposableObject.)
Public methodStatic memberTrackAllOpen
Tracks all open trackable objects of this type. Only tracks the section if the tracking of current object is enabled.
Public methodUsing
Adds the given object to the list of the allocated objects to dispose
(Inherited from DisposableObject.)
Top
See Also