C# Class UnifiedStorage.WindowsStorage.WindowsStorageDirectory

Inheritance: IDirectory
Datei anzeigen Open project: fiveninedigital/UnifiedStorage

Public Methods

Method Description
CreateDirectoryAsync ( string desiredName, CollisionOption option, CancellationToken cancellationToken = newCancellationToken() ) : Task
CreateFileAsync ( string desiredName, CollisionOption option, CancellationToken cancellationToken = newCancellationToken() ) : Task
DeleteAsync ( CancellationToken cancellationToken = newCancellationToken() ) : Task
ExistsAsync ( CancellationToken cancellationToken = newCancellationToken() ) : Task
GetDirectoriesAsync ( CancellationToken cancellationToken = newCancellationToken() ) : Task>
GetDirectoryAsync ( string name, CancellationToken cancellationToken = newCancellationToken() ) : Task
GetFileAsync ( string name, CancellationToken cancellationToken = newCancellationToken() ) : Task
GetFilesAsync ( CancellationToken cancellationToken = newCancellationToken() ) : Task>
GetFilesAsync ( string searchPattern, CancellationToken cancellationToken = newCancellationToken() ) : Task>
WindowsStorageDirectory ( IStorageFolder storage ) : System
WindowsStorageDirectory ( string path ) : System

Private Methods

Method Description
EnsureExistsAsync ( CancellationToken cancellationToken ) : Task
FitsMask ( string fileName, string fileMask ) : bool

Method Details

CreateDirectoryAsync() public method

public CreateDirectoryAsync ( string desiredName, CollisionOption option, CancellationToken cancellationToken = newCancellationToken() ) : Task
desiredName string
option CollisionOption
cancellationToken System.Threading.CancellationToken
return Task

CreateFileAsync() public method

public CreateFileAsync ( string desiredName, CollisionOption option, CancellationToken cancellationToken = newCancellationToken() ) : Task
desiredName string
option CollisionOption
cancellationToken System.Threading.CancellationToken
return Task

DeleteAsync() public method

public DeleteAsync ( CancellationToken cancellationToken = newCancellationToken() ) : Task
cancellationToken System.Threading.CancellationToken
return Task

ExistsAsync() public method

public ExistsAsync ( CancellationToken cancellationToken = newCancellationToken() ) : Task
cancellationToken System.Threading.CancellationToken
return Task

GetDirectoriesAsync() public method

public GetDirectoriesAsync ( CancellationToken cancellationToken = newCancellationToken() ) : Task>
cancellationToken System.Threading.CancellationToken
return Task>

GetDirectoryAsync() public method

public GetDirectoryAsync ( string name, CancellationToken cancellationToken = newCancellationToken() ) : Task
name string
cancellationToken System.Threading.CancellationToken
return Task

GetFileAsync() public method

public GetFileAsync ( string name, CancellationToken cancellationToken = newCancellationToken() ) : Task
name string
cancellationToken System.Threading.CancellationToken
return Task

GetFilesAsync() public method

public GetFilesAsync ( CancellationToken cancellationToken = newCancellationToken() ) : Task>
cancellationToken System.Threading.CancellationToken
return Task>

GetFilesAsync() public method

public GetFilesAsync ( string searchPattern, CancellationToken cancellationToken = newCancellationToken() ) : Task>
searchPattern string
cancellationToken System.Threading.CancellationToken
return Task>

WindowsStorageDirectory() public method

public WindowsStorageDirectory ( IStorageFolder storage ) : System
storage IStorageFolder
return System

WindowsStorageDirectory() public method

public WindowsStorageDirectory ( string path ) : System
path string
return System