CLASS IdentifyAsFakeObject - Identify instances of inheriting classes as Fake Objects

Top  Previous  Next

Description

The class IdentifyAsFakeObject is used to identify an object as a fake object. By inheriting from IdentifyAsFakeObject, every class can be declared as a fake object. A type check performed on an object with IsFakeObject will return .T. if the object has inherited from IdentifyAsFakeObject.

 

Instances of classes inheriting from IdentifyAsFakeObject must export these members:

 

:handle
:invalidHandleValue

 

The Core class FakeObjectBaseClass inherits from IdentifyAsFakeObject.