C# Class HibernatingRhinos.PhoneBook.Library.PersistentPhoneBook

Inheritance: IDisposable
Afficher le fichier Open project: ayende/HibernatingRhinos.PhoneBook Class Usage Examples

Méthodes publiques

Méthode Description
Create ( Entry entry ) : void
Delete ( Entry entry ) : void
Dispose ( ) : void
Edit ( Entry entry ) : void
PersistentPhoneBook ( Stream stream, bool streamOwner = true ) : System
PersistentPhoneBook ( string path ) : System
ReadEntries ( ) : IEnumerable

Private Methods

Méthode Description
Compact ( ) : void
GetEntriesPositions ( ) : EntriesPositions
ReadBuffer ( int len ) : byte[]
ReadEntry ( ) : Entry
ReadString ( ) : string
WriteString ( string val ) : void
WriteToStream ( Entry entry ) : void

Method Details

Create() public méthode

public Create ( Entry entry ) : void
entry Entry
Résultat void

Delete() public méthode

public Delete ( Entry entry ) : void
entry Entry
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Edit() public méthode

public Edit ( Entry entry ) : void
entry Entry
Résultat void

PersistentPhoneBook() public méthode

public PersistentPhoneBook ( Stream stream, bool streamOwner = true ) : System
stream Stream
streamOwner bool
Résultat System

PersistentPhoneBook() public méthode

public PersistentPhoneBook ( string path ) : System
path string
Résultat System

ReadEntries() public méthode

public ReadEntries ( ) : IEnumerable
Résultat IEnumerable