C# Class UnifiedStorage.DotNet.DotNetDirectory

Inheritance: IDirectory
Afficher le fichier Open project: fiveninedigital/UnifiedStorage

Méthodes publiques

Méthode Description
CreateDirectoryAsync ( string desiredName, CollisionOption option, CancellationToken cancellationToken = default(CancellationToken) ) : Task
CreateFileAsync ( string desiredName, CollisionOption option, CancellationToken cancellationToken = default(CancellationToken) ) : Task
DeleteAsync ( CancellationToken cancellationToken ) : Task
DotNetDirectory ( string path ) : System
ExistsAsync ( CancellationToken cancellationToken = default(CancellationToken) ) : Task
GetDirectoriesAsync ( CancellationToken cancellationToken = default(CancellationToken) ) : Task>
GetDirectoryAsync ( string name, CancellationToken cancellationToken = default(CancellationToken) ) : Task
GetFileAsync ( string name, CancellationToken cancellationToken = default(CancellationToken) ) : Task
GetFilesAsync ( CancellationToken cancellationToken = default(CancellationToken) ) : Task>
GetFilesAsync ( string searchPattern, CancellationToken cancellationToken = default(CancellationToken) ) : Task>

Private Methods

Méthode Description
CreateFile ( string filePath ) : void
EnsureExists ( ) : void

Method Details

CreateDirectoryAsync() public méthode

public CreateDirectoryAsync ( string desiredName, CollisionOption option, CancellationToken cancellationToken = default(CancellationToken) ) : Task
desiredName string
option CollisionOption
cancellationToken System.Threading.CancellationToken
Résultat Task

CreateFileAsync() public méthode

public CreateFileAsync ( string desiredName, CollisionOption option, CancellationToken cancellationToken = default(CancellationToken) ) : Task
desiredName string
option CollisionOption
cancellationToken System.Threading.CancellationToken
Résultat Task

DeleteAsync() public méthode

public DeleteAsync ( CancellationToken cancellationToken ) : Task
cancellationToken System.Threading.CancellationToken
Résultat Task

DotNetDirectory() public méthode

public DotNetDirectory ( string path ) : System
path string
Résultat System

ExistsAsync() public méthode

public ExistsAsync ( CancellationToken cancellationToken = default(CancellationToken) ) : Task
cancellationToken System.Threading.CancellationToken
Résultat Task

GetDirectoriesAsync() public méthode

public GetDirectoriesAsync ( CancellationToken cancellationToken = default(CancellationToken) ) : Task>
cancellationToken System.Threading.CancellationToken
Résultat Task>

GetDirectoryAsync() public méthode

public GetDirectoryAsync ( string name, CancellationToken cancellationToken = default(CancellationToken) ) : Task
name string
cancellationToken System.Threading.CancellationToken
Résultat Task

GetFileAsync() public méthode

public GetFileAsync ( string name, CancellationToken cancellationToken = default(CancellationToken) ) : Task
name string
cancellationToken System.Threading.CancellationToken
Résultat Task

GetFilesAsync() public méthode

public GetFilesAsync ( CancellationToken cancellationToken = default(CancellationToken) ) : Task>
cancellationToken System.Threading.CancellationToken
Résultat Task>

GetFilesAsync() public méthode

public GetFilesAsync ( string searchPattern, CancellationToken cancellationToken = default(CancellationToken) ) : Task>
searchPattern string
cancellationToken System.Threading.CancellationToken
Résultat Task>