C# Class Zetetic.Ldap.LdifReader

LdifReader is a low-overhead, event-based reader for LDIF formatted files. Use LdifEntryReader for a more traditional, "whole-entry" reader.
Inheritance: IDisposable
Afficher le fichier Open project: skradel/Zetetic.Ldap Class Usage Examples

Méthodes publiques

Méthode Description
Dispose ( ) : void
Dispose ( bool isDisposing ) : void

Close the underlying stream if we own it; otherwise, just nullify our reference.

LdifReader ( FileStream fs ) : System

Read from an already-open FileStream, assumed to be ASCII-encoded.

LdifReader ( TextReader sr ) : System

Read from an already-open TextReader, without assuming any particular encoding.

LdifReader ( string path ) : System

Open the ASCII-encoded LDIF file at 'path' for reading.

Read ( ) : bool

Raise any events from reading the next set of instructions from the LDIF. Return false if we have reached the end of the file. Otherwise, true.

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Dispose() public méthode

Close the underlying stream if we own it; otherwise, just nullify our reference.
public Dispose ( bool isDisposing ) : void
isDisposing bool
Résultat void

LdifReader() public méthode

Read from an already-open FileStream, assumed to be ASCII-encoded.
public LdifReader ( FileStream fs ) : System
fs System.IO.FileStream
Résultat System

LdifReader() public méthode

Read from an already-open TextReader, without assuming any particular encoding.
public LdifReader ( TextReader sr ) : System
sr TextReader
Résultat System

LdifReader() public méthode

Open the ASCII-encoded LDIF file at 'path' for reading.
public LdifReader ( string path ) : System
path string
Résultat System

Read() public méthode

Raise any events from reading the next set of instructions from the LDIF. Return false if we have reached the end of the file. Otherwise, true.
public Read ( ) : bool
Résultat bool