IExtensionMetadataCache Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
An interface for an optional cache to be utilized by extension metadata service.
public interface IExtensionMetadataCache
type IExtensionMetadataCache = interface
Public Interface IExtensionMetadataCache
Remarks
The cache is designed to rely on file last modified timestamps for entry validation.
Methods
GetExtensionsAsync(String, CancellationToken) |
Gets the extensions for a given data moniker type. |
InsertExtensionDataAsync<T>(ExtensionIdentificationToken, IEnumerable<String>, String, Func<Task<IReadOnlyDictionary<String,T>>>, CancellationToken) |
Updates specified section entries for an extension. |
RemoveExtensionDataAsync(ExtensionIdentificationToken, CancellationToken) |
Removes all extension data for the given extension. |
TryReadFromCacheAsync<T>(ExtensionIdentificationToken, String, String, CancellationToken) |
Reads cached entry for a given extension, section name and data moniker. |