Skip to content
Auto
Products

IFileSystemAsyncHistoryOperations

Namespace: TagBites.IO.Operations
Assembly: TagBites.IO.dll
Product: TagBites.IO v. 2.0.0

Provides the asynchronous file history operations of a FileSystem.

public interface IFileSystemAsyncHistoryOperations

Asynchronously deletes the specified file version.

public virtual Task DeleteFileVersionAsync(FileVersionLink file)

Task

The task object representing the asynchronous operation.

Section titled “GetFileVersionInfoAsync(FileLink, DateTime)”

Returns information about a file version for the specified file and modification date.

public virtual Task<IFileVersionLinkInfo> GetFileVersionInfoAsync(FileLink file, DateTime modifyTime)

Task<IFileVersionLinkInfo>

A Task of IFileVersionLinkInfo object representing a file version.

Asynchronously retrieves a collection of the file versions since specified date time.

public virtual Task<IList<IFileVersionLinkInfo>> GetFileVersionsAsync(FileLink file)

Task<IList<IFileVersionLinkInfo>>

The task object representing the asynchronous operation. The value of the parameter contains A collection of strongly typed IFileVersionLinkInfo objects representing information the files versions since specified date time.

Determines whether a file version has access to read.

public virtual bool HasReadAccess(FileVersionLink link)

bool

true if the file version can be read; otherwise, false.

Determines whether a file version has access to written.

public virtual bool HasWriteAccess(FileVersionLink link)

bool

true if the file version can be written; otherwise, false.

Asynchronously opens an existing file version to read.

public virtual Task<Stream> ReadFileVersionAsync(FileVersionLink file)
  • file FileVersionLink
    The link to the file version to be opened for reading.

Task<Stream>

The task object representing the asynchronous operation. The value of the parameter contains a read-only Stream for the specified file version.