ArcFM Engine Developer Guide
Handler<T_Scope,T_ChildScope,T_ChildResult,T_Result> Class Methods


For a list of all members of this type, see Handler<T_Scope,T_ChildScope,T_ChildResult,T_Result> members.

Public Methods
 NameDescription
Public MethodProcessProcess(T_Scope) calls Initialize on this handler, then Process on the child, and finally Execute on this handler. Override this method only for advanced cases that require altering this pattern. We recommend that you invoke this base method from the override. ProcessEvents are raised in this method, so any overrides that don't invoke the base should also raise any desired events.  
Public MethodTestExecuteA way to unit test a handler independently of a pipeline. This method is intended for testing only. For production, override Execute, and call Process.  
Public MethodTestInitializeA way to unit test a handler independently of a pipeline. This method is intended for testing only. For production, override Initialize, and call Process.  
Top
Protected Methods
 NameDescription
Protected MethodCompensateOverride this method to provide fallback behavior when Execute encounters an error.  
Protected MethodExecuteExecutes the operation. Override this to method to implement the primary processing you wish to occur in this handler class. The default implementation will simply return the child's result, in the case that it's the same type as it's own result. Otherwise, it will throw an error. Do not invoke base. Execute in your derived implementation.  
Protected MethodInitialize  
Protected MethodOnAfterExecute  
Protected MethodOnAfterInitialize  
Protected MethodOnBeforeExecute  
Protected MethodOnBeforeInitialize  
Top
See Also

Reference

Handler<T_Scope,T_ChildScope,T_ChildResult,T_Result> Class
Miner.Geodatabase.Integration Namespace

 

 


Send Comment