C# Class Universal.Torrent.Common.StorageHelper

Mostrar archivo Open project: haroldma/Universal.Torrent

Public Methods

Method Description
CreateFileAsync ( string path, StorageFolder folder, CreationCollisionOption option = CreationCollisionOption.OpenIfExists ) : Task
CreateFileAsync ( string path, StorageStrategy location = StorageStrategy.Local, CreationCollisionOption option = CreationCollisionOption.OpenIfExists ) : Task
DeleteFileAsync ( string path, StorageFolder folder ) : Task
DeleteFileAsync ( string path, StorageStrategy location = StorageStrategy.Local ) : Task
DeleteFolderContentAsync ( StorageFolder folder ) : System.Threading.Tasks.Task
DeleteFolderContentAsync ( StorageStrategy location ) : System.Threading.Tasks.Task
EnsureFolderExistsAsync ( string path, StorageFolder parentFolder ) : Task
EnsureFolderExistsAsync ( string path, StorageStrategy location = StorageStrategy.Local ) : Task
FileExistsAsync ( string path, StorageFolder folder ) : Task
FileExistsAsync ( string path, StorageStrategy location = StorageStrategy.Local ) : Task
GetFileAsync ( string path, StorageFolder folder ) : Task
GetFileAsync ( string path, StorageStrategy location = StorageStrategy.Local ) : Task
GetFolderAsync ( string path, StorageFolder parentFolder ) : Task
GetFolderAsync ( string path, StorageStrategy location = StorageStrategy.Local ) : Task
GetFolderFromStrategy ( StorageStrategy location ) : StorageFolder
GetIfFileExistsAsync ( string path, StorageFolder folder ) : Task
GetIfFileExistsAsync ( string path, StorageStrategy strategy = StorageStrategy.Local ) : Task
GetReaderForFileAsync ( string path, StorageFolder folder ) : Task
GetReaderForFileAsync ( string path, StorageStrategy location = StorageStrategy.Local ) : Task
GetWriterForFileAsync ( string path, StorageFolder folder ) : Task
GetWriterForFileAsync ( string path, StorageStrategy location = StorageStrategy.Local ) : Task

Private Methods

Method Description
_EnsureFolderExistsAsync ( string name, StorageFolder parent ) : Task
_GetFolderAsync ( string name, StorageFolder parent ) : Task

Method Details

CreateFileAsync() public static method

public static CreateFileAsync ( string path, StorageFolder folder, CreationCollisionOption option = CreationCollisionOption.OpenIfExists ) : Task
path string
folder Windows.Storage.StorageFolder
option CreationCollisionOption
return Task

CreateFileAsync() public static method

public static CreateFileAsync ( string path, StorageStrategy location = StorageStrategy.Local, CreationCollisionOption option = CreationCollisionOption.OpenIfExists ) : Task
path string
location StorageStrategy
option CreationCollisionOption
return Task

DeleteFileAsync() public static method

public static DeleteFileAsync ( string path, StorageFolder folder ) : Task
path string
folder Windows.Storage.StorageFolder
return Task

DeleteFileAsync() public static method

public static DeleteFileAsync ( string path, StorageStrategy location = StorageStrategy.Local ) : Task
path string
location StorageStrategy
return Task

DeleteFolderContentAsync() public static method

public static DeleteFolderContentAsync ( StorageFolder folder ) : System.Threading.Tasks.Task
folder Windows.Storage.StorageFolder
return System.Threading.Tasks.Task

DeleteFolderContentAsync() public static method

public static DeleteFolderContentAsync ( StorageStrategy location ) : System.Threading.Tasks.Task
location StorageStrategy
return System.Threading.Tasks.Task

EnsureFolderExistsAsync() public static method

public static EnsureFolderExistsAsync ( string path, StorageFolder parentFolder ) : Task
path string
parentFolder Windows.Storage.StorageFolder
return Task

EnsureFolderExistsAsync() public static method

public static EnsureFolderExistsAsync ( string path, StorageStrategy location = StorageStrategy.Local ) : Task
path string
location StorageStrategy
return Task

FileExistsAsync() public static method

public static FileExistsAsync ( string path, StorageFolder folder ) : Task
path string
folder Windows.Storage.StorageFolder
return Task

FileExistsAsync() public static method

public static FileExistsAsync ( string path, StorageStrategy location = StorageStrategy.Local ) : Task
path string
location StorageStrategy
return Task

GetFileAsync() public static method

public static GetFileAsync ( string path, StorageFolder folder ) : Task
path string
folder Windows.Storage.StorageFolder
return Task

GetFileAsync() public static method

public static GetFileAsync ( string path, StorageStrategy location = StorageStrategy.Local ) : Task
path string
location StorageStrategy
return Task

GetFolderAsync() public static method

public static GetFolderAsync ( string path, StorageFolder parentFolder ) : Task
path string
parentFolder Windows.Storage.StorageFolder
return Task

GetFolderAsync() public static method

public static GetFolderAsync ( string path, StorageStrategy location = StorageStrategy.Local ) : Task
path string
location StorageStrategy
return Task

GetFolderFromStrategy() public static method

public static GetFolderFromStrategy ( StorageStrategy location ) : StorageFolder
location StorageStrategy
return Windows.Storage.StorageFolder

GetIfFileExistsAsync() public static method

public static GetIfFileExistsAsync ( string path, StorageFolder folder ) : Task
path string
folder Windows.Storage.StorageFolder
return Task

GetIfFileExistsAsync() public static method

public static GetIfFileExistsAsync ( string path, StorageStrategy strategy = StorageStrategy.Local ) : Task
path string
strategy StorageStrategy
return Task

GetReaderForFileAsync() public static method

public static GetReaderForFileAsync ( string path, StorageFolder folder ) : Task
path string
folder Windows.Storage.StorageFolder
return Task

GetReaderForFileAsync() public static method

public static GetReaderForFileAsync ( string path, StorageStrategy location = StorageStrategy.Local ) : Task
path string
location StorageStrategy
return Task

GetWriterForFileAsync() public static method

public static GetWriterForFileAsync ( string path, StorageFolder folder ) : Task
path string
folder Windows.Storage.StorageFolder
return Task

GetWriterForFileAsync() public static method

public static GetWriterForFileAsync ( string path, StorageStrategy location = StorageStrategy.Local ) : Task
path string
location StorageStrategy
return Task