ArcFM Desktop Developer Guide
TestInitialize Method


A way to unit test a handler independently of a pipeline. This method is intended for testing only. For production, override Initialize, and call Process.
Syntax
'Declaration
 
Public Function TestInitialize( _
   ByVal scope As T_Scope _
) As T_ChildScope
'Usage
 
Dim instance As Handler(Of T_Scope,T_ChildScope,T_ChildResult,T_Result)
Dim scope As T_Scope
Dim value As T_ChildScope
 
value = instance.TestInitialize(scope)
public T_ChildScope TestInitialize( 
   T_Scope scope
)

Parameters

scope
Remarks
calls Initialize: return Initialize(scope, childResult);
Requirements

Target Platforms: Windows XP SP3 (32-bit and 64-bit), Windows 7 (32-bit and 64-bit)

Not all Operating Systems are supported on all products. Visit the ArcFM Solution Supported Versions page for full details.

See Also

Reference

Handler<T_Scope,T_ChildScope,T_ChildResult,T_Result> Class
Handler<T_Scope,T_ChildScope,T_ChildResult,T_Result> Members

 

 


Send Comment