2
0

SshCommand.NET40.cs 444 B

1234567891011121314151617
  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. /// <exception cref="ArgumentNullException"><paramref name=" action"/> is null.</exception>
  11. partial void ExecuteThread(Action action)
  12. {
  13. Task.Factory.StartNew(action);
  14. }
  15. }
  16. }