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.
파일 보기 프로젝트 열기: mono/flickr-sharp 1 사용 예제들

공개 메소드들

메소드 설명
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