Skip to main content

StorageProviderExtensions Class

Group of public extensions for IStorageProvider class.

Definition

Namespace: Avalonia.Platform.Storage
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public static class StorageProviderExtensions
View Source
InheritanceObject → StorageProviderExtensions

Methods

TryGetFileFromPathAsync(IStorageProvider, String)Attempts to read file from the file-system by its path.
TryGetFolderFromPathAsync(IStorageProvider, String)Attempts to read folder from the file-system by its path.
TryGetLocalPath(IStorageItem)Gets the local file system path of the item as a string.

See Also

Reference

Avalonia.Platform.Storage Namespace