Interface IFileMetadata
An interface that is meant to be used to represent a file's metadata.
Namespace: Workspace.XBR.Xperiflow.MetaFileSystem
Assembly: Xperiflow.dll
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.
JObject Attributes { get; }
CreationTime
The creation time of the file.
DateTime CreationTime { get; }
LastModified
The last modified time of the file.
DateTime LastModified { get; }
Extension
The extension of the file. Ex: ".txt"
string Extension { get; }
FullName
The full path to the file. Ex: "/A/Path/To/MyFile.txt"
string FullName { get; set; }
Name
The name of the file. Ex: "MyFile.txt"
string Name { get; }
ParentPath
The parent directory path. Ex: "/A/Path/To"
string ParentPath { get; }
Size
The size of the file. Size may be in different units depending on the implementation.
double Size { get; }
Type
The type of the structure. This is usually expected to be set to "file" by concrete implementations.
string Type { get; }
MetadataConnectionReference
The connection reference that is associated with the file.
NamedConnectionReference MetadataConnectionReference { get; }