Skip to main content

Interface IFileMetadata

An interface that is meant to be used to represent a file's metadata.

Namespace: Workspace.XBR.Xperiflow.MetaFileSystem

Assembly: Xperiflow.dll

Declaration
public interface IFileMetadata

Properties

Attributes

An arbitrary collection of attributes that are associated with the file. This will be a json representation of the entire file metadata.

Declaration
JObject Attributes { get; }

CreationTime

The creation time of the file.

Declaration
DateTime CreationTime { get; }

LastModified

The last modified time of the file.

Declaration
DateTime LastModified { get; }

Extension

The extension of the file. Ex: ".txt"

Declaration
string Extension { get; }

FullName

The full path to the file. Ex: "/A/Path/To/MyFile.txt"

Declaration
string FullName { get; set; }

Name

The name of the file. Ex: "MyFile.txt"

Declaration
string Name { get; }

ParentPath

The parent directory path. Ex: "/A/Path/To"

Declaration
string ParentPath { get; }

Size

The size of the file. Size may be in different units depending on the implementation.

Declaration
double Size { get; }

Type

The type of the structure. This is usually expected to be set to "file" by concrete implementations.

Declaration
string Type { get; }

MetadataConnectionReference

The connection reference that is associated with the file.

Declaration
NamedConnectionReference MetadataConnectionReference { get; }

Was this page helpful?