IDataProducer Interface

Definition

Represents a data producer extension.

public interface IDataProducer : Microsoft.Testing.Platform.Extensions.IExtension
type IDataProducer = interface
    interface IExtension
Public Interface IDataProducer
Implements IExtension
Implements

Properties

Name Description
DataTypesProduced

Gets the types of data produced by the data producer.

Description

Gets the description of the extension.

(Inherited from IExtension)
DisplayName

Gets the display name of the extension.

(Inherited from IExtension)
Uid

Gets the unique identifier for the extension.

(Inherited from IExtension)
Version

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

(Inherited from IExtension)

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.

(Inherited from IExtension)

Applies to