C# Class Orchard.FileSystems.Media.FileSystemStorageProvider.FileSystemStorageFile

Inheritance: IStorageFile
显示文件 Open project: ucdavis/Orchard

Public Methods

Method Description
CreateFile ( ) : Stream
FileSystemStorageFile ( string path, FileInfo fileInfo ) : System
GetFileType ( ) : string
GetLastUpdated ( ) : System.DateTime
GetName ( ) : string
GetPath ( ) : string
GetSize ( ) : long
OpenRead ( ) : Stream
OpenWrite ( ) : Stream

Method Details

CreateFile() public method

public CreateFile ( ) : Stream
return Stream

FileSystemStorageFile() public method

public FileSystemStorageFile ( string path, FileInfo fileInfo ) : System
path string
fileInfo System.IO.FileInfo
return System

GetFileType() public method

public GetFileType ( ) : string
return string

GetLastUpdated() public method

public GetLastUpdated ( ) : System.DateTime
return System.DateTime

GetName() public method

public GetName ( ) : string
return string

GetPath() public method

public GetPath ( ) : string
return string

GetSize() public method

public GetSize ( ) : long
return long

OpenRead() public method

public OpenRead ( ) : Stream
return Stream

OpenWrite() public method

public OpenWrite ( ) : Stream
return Stream