CopyForAnotherThreadCopyT Method |
Namespace: AGI.Foundation.Infrastructure
The following example shows how to use this method to create a copy of an object that can be used simultaneously with the original from another thread:
// An object that we need to copy for another thread. In this case, we are // copying an evaluator. AxesEvaluator axesEvaluator = GeometryTransformer.GetAxesTransformation(fromAxes, toAxes); // Call the static Copy method. AxesEvaluator copiedEvaluator = CopyForAnotherThread.Copy(axesEvaluator);