SshCommand.NET40.cs 343 B

12345678910111213141516
  1. using System;
  2. using System.Threading.Tasks;
  3. namespace Renci.SshNet
  4. {
  5. /// <summary>
  6. /// Represents SSH command that can be executed.
  7. /// </summary>
  8. public partial class SshCommand
  9. {
  10. partial void ExecuteThread(Action action)
  11. {
  12. Task.Factory.StartNew(action);
  13. }
  14. }
  15. }