Пример #1
0
 internal LdapSessionOptions(LdapConnection connection)
 {
     _connection               = connection;
     _queryDelegate            = new QUERYFORCONNECTIONInternal(ProcessQueryConnection);
     _notifiyDelegate          = new NOTIFYOFNEWCONNECTIONInternal(ProcessNotifyConnection);
     _dereferenceDelegate      = new DEREFERENCECONNECTIONInternal(ProcessDereferenceConnection);
     _serverCertificateRoutine = new VERIFYSERVERCERT(ProcessServerCertificate);
 }
 internal LdapSessionOptions(LdapConnection connection)
 {
     this.connection = connection;
     this.queryDelegate = new QUERYFORCONNECTIONInternal(this.ProcessQueryConnection);
     this.notifiyDelegate = new NOTIFYOFNEWCONNECTIONInternal(this.ProcessNotifyConnection);
     this.dereferenceDelegate = new DEREFERENCECONNECTIONInternal(this.ProcessDereferenceConnection);
     this.serverCertificateRoutine = new VERIFYSERVERCERT(this.ProcessServerCertificate);
 }
Пример #3
0
 internal LdapSessionOptions(LdapConnection connection)
 {
     this.callbackRoutine          = new ReferralCallback();
     this.connection               = connection;
     this.queryDelegate            = new QUERYFORCONNECTIONInternal(this.ProcessQueryConnection);
     this.notifiyDelegate          = new NOTIFYOFNEWCONNECTIONInternal(this.ProcessNotifyConnection);
     this.dereferenceDelegate      = new DEREFERENCECONNECTIONInternal(this.ProcessDereferenceConnection);
     this.serverCertificateRoutine = new VERIFYSERVERCERT(this.ProcessServerCertificate);
 }