C# Class WatchThis.Models.FileProvider

Inheritance: IProvider
显示文件 Open project: kevintavog/WatchThis.net Class Usage Examples

Public Methods

Method Description
CreatedDate ( object data ) : System.DateTime
Enumerate ( MediaCollector collector, System.Action itemsAvailable = null ) : void
FileProvider ( string baseFolder, IList folderList ) : System
GetLocation ( object data ) : Location
Identifier ( object data ) : string
Length ( object data ) : long
ParentDirectoryName ( object data ) : string
Signature ( object data ) : string
Stream ( object data ) : Stream

Private Methods

Method Description
SupportedExtension ( string extension ) : bool

Method Details

CreatedDate() public method

public CreatedDate ( object data ) : System.DateTime
data object
return System.DateTime

Enumerate() public method

public Enumerate ( MediaCollector collector, System.Action itemsAvailable = null ) : void
collector MediaCollector
itemsAvailable System.Action
return void

FileProvider() public method

public FileProvider ( string baseFolder, IList folderList ) : System
baseFolder string
folderList IList
return System

GetLocation() public method

public GetLocation ( object data ) : Location
data object
return Location

Identifier() public method

public Identifier ( object data ) : string
data object
return string

Length() public method

public Length ( object data ) : long
data object
return long

ParentDirectoryName() public method

public ParentDirectoryName ( object data ) : string
data object
return string

Signature() public method

public Signature ( object data ) : string
data object
return string

Stream() public method

public Stream ( object data ) : Stream
data object
return Stream