/// <summary> /// This method is called to start a new thread. /// </summary> /// <param name="node">A node that is needed to provide context and work to the thread.</param> private void startThread(Node node) { ThreadManager.StartThread(() => node.DoAction(value)); }
/// <summary> /// A method that is used to start a new thread. /// </summary> /// <param name="node">The node that provides work for the thread that is going to be started.</param> private static void startThread(Node node) { ThreadManager.StartThread(() => node.DoAction(true)); }