improve SshHost usability

This commit is contained in:
ig 2023-05-04 09:43:42 +02:00
parent 4b510f6448
commit ac32e4be09
1 changed files with 4 additions and 0 deletions

View File

@ -26,4 +26,8 @@ public class SshHost
}
public Task<Boolean> Ping() => HostName.Ping();
public static implicit operator SshHost(String hostname) => new SshHost(hostname);
public override String ToString() => Command.ToString();
}