Class FileMetadata
A metadata representation of a file found in the MetaFileSystem"/>.
Namespace: Workspace.XBR.Xperiflow.MetaFileSystem
Assembly: Xperiflow.dll
public class FileMetadata : IFileMetadata
Implements: Workspace.XBR.Xperiflow.MetaFileSystem.IFileMetadata
Properties
FullName
The full file name. This includes the rest of the directory path. Ex: "/fileshare/path/to/file.txt"
public string FullName { get; set; }
Name
Gets the file name of the file. See Workspace.XBR.Xperiflow.MetaFileSystem.MetaFilePathUtil.GetPathName(string) for more information. Ex: "my_file.txt"
public string Name { get; }
Extension
Gets the file extension of the file. See Workspace.XBR.Xperiflow.MetaFileSystem.MetaFilePathUtil.GetPathExtendedSuffix(System.String%2cSystem.Boolean)
for more information. Ex: ".txt"
public string Extension { get; }
ParentPath
The parent path of the file. See Workspace.XBR.Xperiflow.MetaFileSystem.MetaFilePathUtil.GetPathParent(System.String%2cSystem.Boolean)
This is the path to the directory containing the file. Ex: "/fileshare/path/to" if the actual file path is "/fileshare/path/to/file.txt"
public string ParentPath { get; }
Type
The type of of content. This is typically "directory" or "file". In this case, it is "file".
public string Type { get; }
Size
The size of the file in bytes.
public double Size { get; }
CreationTime
The time the file was created.
public DateTime CreationTime { get; }
LastModified
The time the file was last modified.
public DateTime LastModified { get; }
Version
The version of the file.
public int Version { get; }
MetadataConnectionReference
The connection reference to the MetaFileSystem's metadata storage.
public NamedConnectionReference MetadataConnectionReference { get; }
Attributes
Any additional specific attributes.
public JObject Attributes { get; }
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object,System.Object)
System.Object.GetHashCode
System.Object.GetType
System.Object.MemberwiseClone
System.Object.ReferenceEquals(System.Object,System.Object)
System.Object.ToString