C# Class ImageManager.FileService

Inheritance: IFileService
Exibir arquivo Open project: cimex/ImageManager Class Usage Examples

Public Methods

Method Description
DeleteFile ( string path ) : void
DeleteTempFile ( string path ) : void
FileService ( HttpContext context ) : System
GetFile ( string path ) : Stream
GetTempFile ( string path ) : Stream
SaveFile ( string path, Stream stream ) : void

Method Details

DeleteFile() public method

public DeleteFile ( string path ) : void
path string
return void

DeleteTempFile() public method

public DeleteTempFile ( string path ) : void
path string
return void

FileService() public method

public FileService ( HttpContext context ) : System
context System.Web.HttpContext
return System

GetFile() public method

public GetFile ( string path ) : Stream
path string
return Stream

GetTempFile() public method

public GetTempFile ( string path ) : Stream
path string
return Stream

SaveFile() public method

public SaveFile ( string path, Stream stream ) : void
path string
stream Stream
return void