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