FileSystemFileProperties
Namespace: Proffer.Storage.FileSystem.Internal
File common properties with metadata stored on a File System.
public class FileSystemFileProperties : Proffer.Storage.IFileProperties
Inheritance Object → FileSystemFileProperties
Implements IFileProperties
Properties
LastModified
Gets the last modified time.
public Nullable<DateTimeOffset> LastModified { get; }
Property Value
Length
Gets the length of the content.
public long Length { get; }
Property Value
ContentType
Gets or sets the content-type.
public string ContentType { get; set; }
Property Value
ETag
Gets the etag.
public string ETag { get; }
Property Value
CacheControl
Gets or sets the cache control.
public string CacheControl { get; set; }
Property Value
ContentMD5
Gets the MD5 digest of the content.
public string ContentMD5 { get; }
Property Value
Metadata
Gets the metadata.
public IDictionary<string, string> Metadata { get; }
Property Value
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.