ThreadedCalculationBodyCallbackTParameter Delegate | 
 
            A delegate representing the body of a multithreaded 'for' loop.
            The execution of the callback will see a 
ThreadingPolicy
            with only one thread unless it is explicitly set inside the callback.
            
 
    Namespace: 
   AGI.Foundation.Infrastructure.Threading
    Assembly:
   AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 25.1.421.0 (25.1.421.0)
Syntaxpublic delegate void BodyCallback<TParameter>(
	TParameter parameter,
	int i
)
Public Delegate Sub BodyCallback(Of TParameter) ( 
	parameter As TParameter,
	i As Integer
)
generic<typename TParameter>
public delegate void BodyCallback(
	TParameter parameter, 
	int i
)
type BodyCallback = 
    delegate of 
        parameter : 'TParameter * 
        i : int -> unitParameters
- parameter
 - Type: TParameter
            A parameter that is passed to the body of the loop.  If this instance implements
            IThreadAware and IsThreadSafe returns
            , a copy of the parameter is made for each thread using
            CopyForAnotherThread.
             - i
 - Type: SystemInt32
The index to evaluate. 
Type Parameters
- TParameter
 - The type of an instance that is passed to the body of the loop.
 
See Also