Пример #1
0
 /// <summary>
 /// Use FTP transportation for this <see cref="IServiceBus"/> using the default FTP client factory.
 /// </summary>
 /// <param name="hostAddressConfiguration">The <see cref="IHostAddressConfiguration"/>.</param>
 /// <param name="messageSerialiser">The <see cref="IMessageSerialiser"/> to use.</param>
 /// <param name="pathToReciever">The full file path of the location this peers FTP server is mapped to receive messages.</param>
 /// <returns>The <see cref="ITransportConfiguration"/>.</returns>
 public static ITransportConfiguration WithFtpTransport(this IHostAddressConfiguration hostAddressConfiguration, IMessageSerialiser messageSerialiser, string pathToReciever)
 {
     return(hostAddressConfiguration.WithFtpTransport(new FtpClientFactory(), messageSerialiser, pathToReciever));
 }