Skip to main content

Class FileMetadata

A metadata representation of a file found in the MetaFileSystem"/>.

Namespace: Workspace.XBR.Xperiflow.MetaFileSystem

Assembly: Xperiflow.dll

Declaration
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"

Declaration
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"

Declaration
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"

Declaration
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"

Declaration
public string ParentPath { get; }

Type

The type of of content. This is typically "directory" or "file". In this case, it is "file".

Declaration
public string Type { get; }

Size

The size of the file in bytes.

Declaration
public double Size { get; }

CreationTime

The time the file was created.

Declaration
public DateTime CreationTime { get; }

LastModified

The time the file was last modified.

Declaration
public DateTime LastModified { get; }

Version

The version of the file.

Declaration
public int Version { get; }

MetadataConnectionReference

The connection reference to the MetaFileSystem's metadata storage.

Declaration
public NamedConnectionReference MetadataConnectionReference { get; }

Attributes

Any additional specific attributes.

Declaration
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

Was this page helpful?