C# Class FlickrNet.CacheItemPersister

An interface that knows how to read/write subclasses of ICacheItem. Obviously there will be a tight coupling between concrete implementations of ICacheItem and concrete implementations of ICacheItemPersister.
Afficher le fichier Open project: mono/flickr-sharp Class Usage Examples

Méthodes publiques

Méthode Description
Read ( Stream inputStream ) : ICacheItem

Read a single cache item from the input stream.

Write ( Stream outputStream, ICacheItem cacheItem ) : void

Write a single cache item to the output stream.

Method Details

Read() public abstract méthode

Read a single cache item from the input stream.
public abstract Read ( Stream inputStream ) : ICacheItem
inputStream Stream
Résultat ICacheItem

Write() public abstract méthode

Write a single cache item to the output stream.
public abstract Write ( Stream outputStream, ICacheItem cacheItem ) : void
outputStream Stream
cacheItem ICacheItem
Résultat void