| 12345678910111213141516171819202122 |
- using System;
- using Renci.SshNet.NetConf;
- namespace Renci.SshNet
- {
- internal partial class ServiceFactory
- {
- /// <summary>
- /// Creates a new <see cref="INetConfSession"/> in a given <see cref="ISession"/>
- /// and with the specified operation timeout.
- /// </summary>
- /// <param name="session">The <see cref="ISession"/> to create the <see cref="INetConfSession"/> in.</param>
- /// <param name="operationTimeout">The operation timeout.</param>
- /// <returns>
- /// An <see cref="INetConfSession"/>.
- /// </returns>
- public INetConfSession CreateNetConfSession(ISession session, TimeSpan operationTimeout)
- {
- return new NetConfSession(session, operationTimeout);
- }
- }
- }
|