Exemplo n.º 1
0
 /// <summary>
 /// Constructor with injection
 /// </summary>
 public Sftp(ISftp sftp)
 {
     Host = sftp.Host;
     Port = sftp.Port;
     UserName = sftp.UserName;
     Password = sftp.Password;
     Directory = sftp.Directory;
     PrivateKeyPath = sftp.PrivateKeyPath;
     PassPhrase = sftp.PassPhrase;
     Proxy = sftp.Proxy;
     FilePaths = sftp.FilePaths;
 }