'Declaration Public Function LayerProtocol(Of T As {New, ISSHProtocol})( _ ByVal lowerLayer As ISSHProtocol, _ ByVal connect As Boolean _ ) As T
'Usage Dim instance As SSHProtocolManager Dim lowerLayer As ISSHProtocol Dim connect As Boolean Dim value As T value = instance.LayerProtocol(Of T)(lowerLayer, connect)
public T LayerProtocol<T>( ISSHProtocol lowerLayer, bool connect ) where T: new(), ISSHProtocol
Parameters
- lowerLayer
- connect
Type Parameters
- T