C# Class JsonFx.Handlers.FileETag

Represents an ETag for a file on disk
Generates a unique ETag which changes when the file changes
Inheritance: ETag
Mostra file Open project: pocket-playlab/jsonfx-v1

Public Methods

Method Description
FileETag ( string fileName ) : System

Ctor

Protected Methods

Method Description
GetLastModified ( ) : System.DateTime

Gets the LastWriteTimeUtc time associated with the file

GetMetaData ( bool &isHash ) : object

Generates a unique ETag which changes when the file metadata changes

Method Details

FileETag() public method

Ctor
public FileETag ( string fileName ) : System
fileName string
return System

GetLastModified() protected method

Gets the LastWriteTimeUtc time associated with the file
protected GetLastModified ( ) : System.DateTime
return System.DateTime

GetMetaData() protected method

Generates a unique ETag which changes when the file metadata changes
protected GetMetaData ( bool &isHash ) : object
isHash bool
return object