TROObjectDisposer

Overview

The TROObjectDisposer is used in generated code to clean up params. If the service supports IROObjectRetainer, only the var and out params of the service that is not retaining will be freed. This class is not intended to be used in user code.

Location

Instance Methods


constructor Create

Creates a new instance.

constructor Create(const aService: IInterface)

Parameters:

  • aService: service

Add

Adds object

procedure Add(aObject: TObject)

Parameters:

  • aObject: Object.