2
0

IServiceFactory.NET.cs 713 B

12345678910111213141516171819
  1. using System;
  2. using Renci.SshNet.NetConf;
  3. namespace Renci.SshNet
  4. {
  5. internal partial interface IServiceFactory
  6. {
  7. /// <summary>
  8. /// Creates a new <see cref="INetConfSession"/> in a given <see cref="ISession"/>
  9. /// and with the specified operation timeout.
  10. /// </summary>
  11. /// <param name="session">The <see cref="ISession"/> to create the <see cref="INetConfSession"/> in.</param>
  12. /// <param name="operationTimeout">The operation timeout.</param>
  13. /// <returns>
  14. /// An <see cref="INetConfSession"/>.
  15. /// </returns>
  16. INetConfSession CreateNetConfSession(ISession session, TimeSpan operationTimeout);
  17. }
  18. }