FileSystemFileProperties

Namespace: Proffer.Storage.FileSystem.Internal

File common properties with metadata stored on a File System.

public class FileSystemFileProperties : Proffer.Storage.IFileProperties

Inheritance ObjectFileSystemFileProperties
Implements IFileProperties

Properties

LastModified

Gets the last modified time.

public Nullable<DateTimeOffset> LastModified { get; }

Property Value

Nullable<DateTimeOffset>

Length

Gets the length of the content.

public long Length { get; }

Property Value

Int64

ContentType

Gets or sets the content-type.

public string ContentType { get; set; }

Property Value

String

ETag

Gets the etag.

public string ETag { get; }

Property Value

String

CacheControl

Gets or sets the cache control.

public string CacheControl { get; set; }

Property Value

String

ContentMD5

Gets the MD5 digest of the content.

public string ContentMD5 { get; }

Property Value

String

Metadata

Gets the metadata.

public IDictionary<string, string> Metadata { get; }

Property Value

IDictionary<String, String>

Constructors

FileSystemFileProperties(String, FileExtendedProperties)

Initializes a new instance of the FileSystemFileProperties class.

public FileSystemFileProperties(string fileSystemPath, FileExtendedProperties extendedProperties)

Parameters

fileSystemPath String
The file system path.

extendedProperties FileExtendedProperties
The extended properties.