IExtensionMetadataService Interface

Definition

Represents a service to query metadata from extensions.

public interface class IExtensionMetadataService
public interface IExtensionMetadataService
type IExtensionMetadataService = interface
Public Interface IExtensionMetadataService
Derived

Methods

SubscribeForMetadataEventsAsync(IEnumerable<String>, IObserver<ExtensionMetadata>, CancellationToken)

Attaches an observer for updates to sections with the specified names. If this is the first subscription, it will notify the observer with the current set of metadata.

SubscribeForMetadataEventsAsync(String, CancellationToken)

Requests that the MetadataChanged event be raised for changes that impact the section with the specified name. If this is the first subscription, it will also raise an event with the current set of metadata.

UnsubscribeFromMetadataEventsAsync(String, CancellationToken)

Unsubscribes from events for the given section name.

Events

MetadataChanged

Occurs when the extension list is changed and new metadata sections are available or removed.

Applies to