C# Class Zetetic.Ldap.PagingHelper

Inheritance: IDisposable
Afficher le fichier Open project: skradel/Zetetic.Ldap Class Usage Examples

Protected Properties

Свойство Type Description
UserControls IList

Méthodes publiques

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

Lazy-loading pure IEnumerable with transparent paging

PagingHelper ( ) : System

Méthodes protégées

Méthode 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 méthode

public Abort ( ) : void
Résultat void

AddControl() public méthode

public AddControl ( System.DirectoryServices.Protocols.DirectoryControl control ) : void
control System.DirectoryServices.Protocols.DirectoryControl
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

ExtractResponseFromException() protected méthode

protected ExtractResponseFromException ( System.DirectoryServices.Protocols.DirectoryOperationException doe ) : System.DirectoryServices.Protocols.SearchResponse
doe System.DirectoryServices.Protocols.DirectoryOperationException
Résultat System.DirectoryServices.Protocols.SearchResponse

GetResults() public méthode

Lazy-loading pure IEnumerable with transparent paging
public GetResults ( ) : IEnumerable
Résultat IEnumerable

GetSearchResponse() protected méthode

protected GetSearchResponse ( string key, System.DirectoryServices.Protocols.SearchRequest req ) : System.DirectoryServices.Protocols.SearchResponse
key string
req System.DirectoryServices.Protocols.SearchRequest
Résultat System.DirectoryServices.Protocols.SearchResponse

OnSearchResponse() protected méthode

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
Résultat void

OnTruncatedSearchResponse() protected méthode

protected OnTruncatedSearchResponse ( string key, System.DirectoryServices.Protocols.SearchResponse resp ) : void
key string
resp System.DirectoryServices.Protocols.SearchResponse
Résultat void

PagingHelper() public méthode

public PagingHelper ( ) : System
Résultat System

UpdatePrc() protected méthode

protected UpdatePrc ( System.DirectoryServices.Protocols.SearchResponse resp ) : System.DirectoryServices.Protocols.PageResultRequestControl
resp System.DirectoryServices.Protocols.SearchResponse
Résultat System.DirectoryServices.Protocols.PageResultRequestControl

Property Details

UserControls protected_oe property

protected IList UserControls
Résultat IList