C# 클래스 UnifiedStorage.WindowsStorage.FileSystem

A IFileSystem implementation for the Windows Storage API.
상속: IFileSystem
파일 보기 프로젝트 열기: fiveninedigital/UnifiedStorage

공개 메소드들

메소드 설명
CreatePath ( string path ) : IPath

Creates the path object from the given string.

FileSystem ( ) : System

Initializes a new instance of the FileSystem class.

GetDirectoryFromPathAsync ( string path, CancellationToken cancellationToken = newCancellationToken() ) : Task

Gets a folder, given its path.

GetFileFromPathAsync ( string path, CancellationToken cancellationToken = newCancellationToken() ) : Task

Gets a file, given its path.

메소드 상세

CreatePath() 공개 메소드

Creates the path object from the given string.
public CreatePath ( string path ) : IPath
path string The path to create.
리턴 IPath

FileSystem() 공개 메소드

Initializes a new instance of the FileSystem class.
public FileSystem ( ) : System
리턴 System

GetDirectoryFromPathAsync() 공개 메소드

Gets a folder, given its path.
public GetDirectoryFromPathAsync ( string path, CancellationToken cancellationToken = newCancellationToken() ) : Task
path string The path to a directory, as returned from the property.
cancellationToken System.Threading.CancellationToken The cancellation token.
리턴 Task

GetFileFromPathAsync() 공개 메소드

Gets a file, given its path.
public GetFileFromPathAsync ( string path, CancellationToken cancellationToken = newCancellationToken() ) : Task
path string The path to a file, as returned from the property.
cancellationToken System.Threading.CancellationToken The cancellation token.
리턴 Task