Ejemplo n.º 1
0
 /// <summary> Registers a class to be instantiated on receipt of a control with the
 /// given OID.
 ///
 /// Any previous registration for the OID is overridden. The
 /// controlClass must be an extension of LdapControl.
 ///
 /// </summary>
 /// <param name="oid">           The object identifier of the control.
 ///
 /// </param>
 /// <param name="controlClass">  A class which can instantiate an LdapControl.
 /// </param>
 public static void  register(System.String oid, System.Type controlClass)
 {
     registeredControls.registerResponseControl(oid, controlClass);
     return;
 }
Ejemplo n.º 2
0
 /// <summary> Registers a class to be instantiated on receipt of a control with the
 /// given OID.
 ///
 /// Any previous registration for the OID is overridden. The
 /// controlClass must be an extension of LdapControl.
 ///
 /// </summary>
 /// <param name="oid">           The object identifier of the control.
 ///
 /// </param>
 /// <param name="controlClass">  A class which can instantiate an LdapControl.
 /// </param>
 public static void register(string oid, Type controlClass)
 {
     registeredControls.registerResponseControl(oid, controlClass);
 }