/// <summary> Registers a class to be instantiated on receipt of a extendedresponse
 /// with the given OID.
 ///
 /// <p>Any previous registration for the OID is overridden. The
 /// extendedResponseClass object MUST be an extension of
 /// LDAPExtendedResponse. </p>
 ///
 /// </summary>
 /// <param name="oid">           The object identifier of the control.
 /// </param>
 /// <param name="extendedResponseClass"> A class which can instantiate an
 /// LDAPExtendedResponse.
 /// </param>
 public static void  register(System.String oid, System.Type extendedResponseClass)
 {
     registeredResponses.registerResponseExtension(oid, extendedResponseClass);
     return;
 }
示例#2
0
 /// <summary> Registers a class to be instantiated on receipt of a extendedresponse
 /// with the given OID.
 ///
 /// <p>Any previous registration for the OID is overridden. The
 /// extendedResponseClass object MUST be an extension of
 /// LDAPExtendedResponse. </p>
 ///
 /// </summary>
 /// <param name="oid">           The object identifier of the control.
 /// </param>
 /// <param name="extendedResponseClass"> A class which can instantiate an
 /// LDAPExtendedResponse.
 /// </param>
 public static void register(string oid, Type extendedResponseClass)
 {
     registeredResponses.registerResponseExtension(oid, extendedResponseClass);
 }