C# Класс 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.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

Read() публичный абстрактный Метод

Read a single cache item from the input stream.
public abstract Read ( Stream inputStream ) : ICacheItem
inputStream Stream
Результат ICacheItem

Write() публичный абстрактный Метод

Write a single cache item to the output stream.
public abstract Write ( Stream outputStream, ICacheItem cacheItem ) : void
outputStream Stream
cacheItem ICacheItem
Результат void