IExtension Interface

Definition

The interface that all extensions must implement. Extensions are a special kind of services that have some identity.

public interface IExtension
type IExtension = interface
Public Interface IExtension
Derived

Properties

Name Description
Description

Gets the description of the extension.

DisplayName

Gets the display name of the extension.

Uid

Gets the unique identifier for the extension.

Version

Gets the version of the extension (ideally semantic version).

Methods

Name Description
IsEnabledAsync()

Controls whether the extension is enabled or not. This is useful for extensions that are always registered but only enabled when certain conditions are met. For example, an extension that would want to be run only when its associated command line option is provided by the user.

Applies to