C# Class UnifiedStorage.DotNet.DotNetDirectory

Inheritance: IDirectory
Mostra file Open project: fiveninedigital/UnifiedStorage

Public Methods

Method 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

Method Description
CreateFile ( string filePath ) : void
EnsureExists ( ) : void

Method Details

CreateDirectoryAsync() public method

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

CreateFileAsync() public method

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

DeleteAsync() public method

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

DotNetDirectory() public method

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

ExistsAsync() public method

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

GetDirectoriesAsync() public method

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

GetDirectoryAsync() public method

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

GetFileAsync() public method

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

GetFilesAsync() public method

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

GetFilesAsync() public method

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