Esempio n. 1
0
 internal void RegisterRequest <TRequest>(SshAgentCode requestCode) where TRequest : SshRequest
 => RegisterRequest((int)requestCode, typeof(TRequest));
Esempio n. 2
0
 internal SshRequest(SshAgentCode requestCode, SshAgent agent)
 {
     RequestCode = (int)requestCode;
     Agent       = agent;
 }
Esempio n. 3
0
 internal void RegisterRequest(SshAgentCode requestCode, Type requestType)
 => RegisterRequest((int)requestCode, requestType);