C# Class RavenGallery.Core.Infrastructure.RavenFileStorageService

Inheritance: IFileStorageService
ファイルを表示 Open project: robashton/RavenGallery Class Usage Examples

Public Methods

Method Description
RavenFileStorageService ( IDocumentStore documentStore ) : System
RetrieveFile ( string filename ) : byte[]
StoreFile ( string filename, byte bytes ) : void

Method Details

RavenFileStorageService() public method

public RavenFileStorageService ( IDocumentStore documentStore ) : System
documentStore IDocumentStore
return System

RetrieveFile() public method

public RetrieveFile ( string filename ) : byte[]
filename string
return byte[]

StoreFile() public method

public StoreFile ( string filename, byte bytes ) : void
filename string
bytes byte
return void