C# Class Zetetic.Ldap.PagingHelper

Inheritance: IDisposable
Datei anzeigen Open project: skradel/Zetetic.Ldap Class Usage Examples

Protected Properties

Property Type Description
UserControls IList

Public Methods

Method Description
Abort ( ) : void
AddControl ( System.DirectoryServices.Protocols.DirectoryControl control ) : void
Dispose ( ) : void
GetResults ( ) : IEnumerable

Lazy-loading pure IEnumerable with transparent paging

PagingHelper ( ) : System

Protected Methods

Method Description
ExtractResponseFromException ( System.DirectoryServices.Protocols.DirectoryOperationException doe ) : System.DirectoryServices.Protocols.SearchResponse
GetSearchResponse ( string key, System.DirectoryServices.Protocols.SearchRequest req ) : System.DirectoryServices.Protocols.SearchResponse
OnSearchResponse ( string key, System.DirectoryServices.Protocols.SearchResponse resp ) : void

Allow a superclass to cache or otherwise inspect the response

OnTruncatedSearchResponse ( string key, System.DirectoryServices.Protocols.SearchResponse resp ) : void
UpdatePrc ( System.DirectoryServices.Protocols.SearchResponse resp ) : System.DirectoryServices.Protocols.PageResultRequestControl

Method Details

Abort() public method

public Abort ( ) : void
return void

AddControl() public method

public AddControl ( System.DirectoryServices.Protocols.DirectoryControl control ) : void
control System.DirectoryServices.Protocols.DirectoryControl
return void

Dispose() public method

public Dispose ( ) : void
return void

ExtractResponseFromException() protected method

protected ExtractResponseFromException ( System.DirectoryServices.Protocols.DirectoryOperationException doe ) : System.DirectoryServices.Protocols.SearchResponse
doe System.DirectoryServices.Protocols.DirectoryOperationException
return System.DirectoryServices.Protocols.SearchResponse

GetResults() public method

Lazy-loading pure IEnumerable with transparent paging
public GetResults ( ) : IEnumerable
return IEnumerable

GetSearchResponse() protected method

protected GetSearchResponse ( string key, System.DirectoryServices.Protocols.SearchRequest req ) : System.DirectoryServices.Protocols.SearchResponse
key string
req System.DirectoryServices.Protocols.SearchRequest
return System.DirectoryServices.Protocols.SearchResponse

OnSearchResponse() protected method

Allow a superclass to cache or otherwise inspect the response
protected OnSearchResponse ( string key, System.DirectoryServices.Protocols.SearchResponse resp ) : void
key string
resp System.DirectoryServices.Protocols.SearchResponse
return void

OnTruncatedSearchResponse() protected method

protected OnTruncatedSearchResponse ( string key, System.DirectoryServices.Protocols.SearchResponse resp ) : void
key string
resp System.DirectoryServices.Protocols.SearchResponse
return void

PagingHelper() public method

public PagingHelper ( ) : System
return System

UpdatePrc() protected method

protected UpdatePrc ( System.DirectoryServices.Protocols.SearchResponse resp ) : System.DirectoryServices.Protocols.PageResultRequestControl
resp System.DirectoryServices.Protocols.SearchResponse
return System.DirectoryServices.Protocols.PageResultRequestControl

Property Details

UserControls protected_oe property

protected IList UserControls
return IList