private static LdapMessage GetResponse(RfcLdapMessage item) { switch (item.Type) { case LdapOperation.SearchResponse: return(new LdapSearchResult(item)); case LdapOperation.SearchResultReference: return(new LdapSearchResultReference(item)); default: return(new LdapResponse(item)); } }
internal LdapSearchResult(RfcLdapMessage message) : base(message) { }
internal LdapResponse(RfcLdapMessage message) : base(message) { }
/// <summary> /// Initializes a new instance of the <see cref="LdapSearchResultReference"/> class. /// Constructs an LdapSearchResultReference object. /// </summary> /// <param name="message">The LdapMessage with a search reference.</param> internal LdapSearchResultReference(RfcLdapMessage message) : base(message) { }