NoExtendedPropertiesProvider

Namespace: Proffer.Storage.FileSystem

Default IExtendedPropertiesProvider without property storage capacity.

public class NoExtendedPropertiesProvider : IExtendedPropertiesProvider

Inheritance ObjectNoExtendedPropertiesProvider
Implements IExtendedPropertiesProvider

Constructors

NoExtendedPropertiesProvider()

public NoExtendedPropertiesProvider()

Methods

GetExtendedPropertiesAsync(String, IPrivateFileReference)

Gets the extended properties of a file reference.

public ValueTask<FileExtendedProperties> GetExtendedPropertiesAsync(string storeAbsolutePath, IPrivateFileReference file)

Parameters

storeAbsolutePath String
The store absolute path.

file IPrivateFileReference
The reference holding the file path.

Returns

ValueTask<FileExtendedProperties>
A loaded instance or a default one if not found.

SaveExtendedPropertiesAsync(String, IPrivateFileReference, FileExtendedProperties)

Saves the extended properties for a file reference.

public Task SaveExtendedPropertiesAsync(string storeAbsolutePath, IPrivateFileReference file, FileExtendedProperties extendedProperties)

Parameters

storeAbsolutePath String
The store absolute path.

file IPrivateFileReference
The reference holding the file path.

extendedProperties FileExtendedProperties
The extended properties.

Returns

Task
A task that represents the asynchronous operation.