IWMethodGuard

<< Click to Display Table of Contents >>

Navigation:  Functions >

IWMethodGuard

SIGNATURE=IW.Common.ObjGuard.IWMethodGuard@TGuardProc@Boolean

 

ETYPE=Function

 

Declaration:

Delphi:

function IWMethodGuard(AMethod: TGuardProc; AStart: Boolean = False): IMethodGuard;

C++:

IMethodGuard IWMethodGuard(TGuardProc AMethod, bool AStart = False);

 

Unit: IW.Common.ObjGuard.pas

 

Description: Makes sure that AMethod is always called. See notes in implementaion for details 

 

Parameters:

 

•AMethod: TGuardProc

 

•AStart: Boolean

 

Result(IMethodGuard):