CLASS IdentifyAsFakeObject - Identify instances of inheriting classes as Fake Objects

Top  Previous  Next


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:




The Core class FakeObjectBaseClass inherits from IdentifyAsFakeObject.