Show / Hide Table of Contents

Interface IFileSystemIOTitle

The FileSystemIO Interface for the Xbox title system. Implements the IFileSystemIO Interface, adding the ability to get Title drives from a device.

Namespace: Phoenix.DeviceStorage
Assembly: Phoenix.Abstractions.DeviceStorage.dll
Syntax
public interface IFileSystemIOTitle

Methods

View Source

CopyTitleDirectoryAsync(PhoenixPath, PhoenixPath)

Copies a directory from source to destination.

Declaration
Task CopyTitleDirectoryAsync(PhoenixPath source, PhoenixPath destination)
Parameters
Type Name Description
PhoenixPath source

Directory source.

PhoenixPath destination

Copy destination.

Returns
Type Description
System.Threading.Tasks.Task

A System.Threading.Tasks.Task representing the result of the asynchronous operation.

View Source

CopyTitleFileAsync(PhoenixPath, PhoenixPath)

Copies a file from source to destination.

Declaration
Task CopyTitleFileAsync(PhoenixPath source, PhoenixPath destination)
Parameters
Type Name Description
PhoenixPath source

File source.

PhoenixPath destination

Copy destination.

Returns
Type Description
System.Threading.Tasks.Task

A System.Threading.Tasks.Task representing the result of the asynchronous operation.

View Source

CreateTitleDirectoryAsync(PhoenixPath)

Creates a directory.

Declaration
Task CreateTitleDirectoryAsync(PhoenixPath path)
Parameters
Type Name Description
PhoenixPath path

The directory to create.

Returns
Type Description
System.Threading.Tasks.Task

A System.Threading.Tasks.Task representing the result of the asynchronous operation.

View Source

CreateTitleFileAsync(PhoenixPath)

Creates a file.

Declaration
Task CreateTitleFileAsync(PhoenixPath path)
Parameters
Type Name Description
PhoenixPath path

The file to create.

Returns
Type Description
System.Threading.Tasks.Task

A System.Threading.Tasks.Task representing the result of the asynchronous operation.

View Source

DeleteTitleDirectoryAsync(PhoenixPath)

Deletes a Directory.

Declaration
Task DeleteTitleDirectoryAsync(PhoenixPath path)
Parameters
Type Name Description
PhoenixPath path

The directory to delete.

Returns
Type Description
System.Threading.Tasks.Task

A System.Threading.Tasks.Task representing the result of the asynchronous operation.

View Source

DeleteTitleFileAsync(PhoenixPath)

Deletes a file.

Declaration
Task DeleteTitleFileAsync(PhoenixPath path)
Parameters
Type Name Description
PhoenixPath path

The file to delete.

Returns
Type Description
System.Threading.Tasks.Task

A System.Threading.Tasks.Task representing the result of the asynchronous operation.

View Source

FindTitleFilesAsync(PhoenixPath, String)

Recursively looks through the directories under the specified path for files matching the specified pattern.

Declaration
Task<IEnumerable<PhoenixFileInfo>> FindTitleFilesAsync(PhoenixPath path, string pattern)
Parameters
Type Name Description
PhoenixPath path

Base path to start the search from.

System.String pattern

Pattern to look for in file names, e.g. FileNam.txt No regular expressions. Simple file lookup. Can use wildcard ().

Returns
Type Description
System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<PhoenixFileInfo>>

A list of the files that were found. Empty if none.

View Source

GetDirectTitlePath(PhoenixPath)

Gets the direct path on the local file system or UNC path.

Declaration
PhoenixPath GetDirectTitlePath(PhoenixPath path)
Parameters
Type Name Description
PhoenixPath path

The path to translate

Returns
Type Description
PhoenixPath

The local file system or UNC path of path; null if not supported

View Source

GetTitleDirectoriesAsync(PhoenixPath)

Gets the directories from a path.

Declaration
Task<IEnumerable<PhoenixDirectoryInfo>> GetTitleDirectoriesAsync(PhoenixPath path)
Parameters
Type Name Description
PhoenixPath path

The path to get directories from.

Returns
Type Description
System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<PhoenixDirectoryInfo>>

An IEnumerable of PhoenixDirectoryInfo.

View Source

GetTitleDrivesAsync()

Gets the drives of the Xbox Title system.

Declaration
Task<IEnumerable<PhoenixDirectoryInfo>> GetTitleDrivesAsync()
Returns
Type Description
System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<PhoenixDirectoryInfo>>

An IEnumerable of PhoenixDirectoryInfo representing the drives.

View Source

GetTitleFilesAsync(PhoenixPath)

Gets the files from a path.

Declaration
Task<IEnumerable<PhoenixFileInfo>> GetTitleFilesAsync(PhoenixPath path)
Parameters
Type Name Description
PhoenixPath path

The path to get files from.

Returns
Type Description
System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<PhoenixFileInfo>>

An IEnumerable of PhoenixFileInfo.

View Source

GetTitleScratchDrive()

Gets the scratch drive of the Xbox Title system.

Declaration
PhoenixDirectoryInfo GetTitleScratchDrive()
Returns
Type Description
PhoenixDirectoryInfo

A PhoenixDirectoryInfo representing the drive.

View Source

OpenFileSystemItemAsync(PhoenixPath)

Opens a FileSystemItem

Declaration
Task OpenFileSystemItemAsync(PhoenixPath path)
Parameters
Type Name Description
PhoenixPath path

The file path to open.

Returns
Type Description
System.Threading.Tasks.Task

A System.Threading.Tasks.Task representing the result of the asynchronous operation.

View Source

TitleDirectoryExistsAsync(PhoenixPath)

Checks if a directory exists.

Declaration
Task<bool> TitleDirectoryExistsAsync(PhoenixPath path)
Parameters
Type Name Description
PhoenixPath path

The path to check,

Returns
Type Description
System.Threading.Tasks.Task<System.Boolean>

True if directory exists, false otherwise.

View Source

TitleFileExistsAsync(PhoenixPath)

Checks if a file exists.

Declaration
Task<bool> TitleFileExistsAsync(PhoenixPath path)
Parameters
Type Name Description
PhoenixPath path

The path to check.

Returns
Type Description
System.Threading.Tasks.Task<System.Boolean>

True if file exists, false otherwise.

  • View Source
In This Article
Back to top Generated by DocFX