TGraphQLExecuter.AddOwnership Method
Overloads
TGraphQLExecuter.AddOwnership(TObject)
Tells the executer to destroy the Obj instance when the executer itself is destroyed.
Syntax
Unit: GraphQL.Executer
procedure TGraphQLExecuter.AddOwnership(Obj: TObject); overload;
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
Obj | TObject | The instance to be destroyed when the executer is destroyed. |
See also
TGraphQLExecuter.AddOwnership(IInterface)
Tells the executer to hold a reference of Intf so that it is only released when executer itself is destroyed.
Syntax
Unit: GraphQL.Executer
procedure TGraphQLExecuter.AddOwnership(const Intf: IInterface); overload;
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
const | Intf | IInterface | The interface to be referenced. |