- using System;
- using System.Threading;
- namespace Renci.SshNet
- {
- /// <summary>
- /// Represents SSH command that can be executed.
- /// </summary>
- public partial class SshCommand
- {
- partial void ExecuteThread(Action action)
- {
- ThreadPool.QueueUserWorkItem((o) => { action(); });
- }
- }
- }
|