Asposecpplib
System::Collections::InvalidatableTracker Class Reference

Class that implements trackers of Invalidatable objects. More...

Public Member Functions

ASPOSECPP_SHARED_API InvalidatableTracker (Invalidatable *invalidator)
 Constructs a tracker object. More...
 
ASPOSECPP_SHARED_API bool CheckValidity () const
 Checks if the state of the tracked object has changed. More...
 

Detailed Description

Class that implements trackers of Invalidatable objects.

Constructor & Destructor Documentation

◆ InvalidatableTracker()

ASPOSECPP_SHARED_API System::Collections::InvalidatableTracker::InvalidatableTracker ( Invalidatable invalidator)

Constructs a tracker object.

Parameters
invalidatorA Invalidatable object, that is needed to be tracked

Member Function Documentation

◆ CheckValidity()

ASPOSECPP_SHARED_API bool System::Collections::InvalidatableTracker::CheckValidity ( ) const

Checks if the state of the tracked object has changed.

Returns
True if the state of the tracked object has not changed, false otherwise.