Table of Contents

AddCoverletExtensionProvider Method

Definition

Namespace
Coverlet.MTP
Assemblies
coverlet.MTP.dll
Source
src/coverlet.MTP/CoverletExtensionProvider.cs

AddCoverletExtensionProvider(ITestApplicationBuilder, bool)

Adds the complete Coverlet coverage integration to a custom test application builder.

public static void AddCoverletExtensionProvider(this ITestApplicationBuilder builder, bool ignoreIfNotSupported = false)

Parameters

builder ITestApplicationBuilder

The builder to configure before constructing the test application.

ignoreIfNotSupported bool

Reserved for compatibility. This parameter is currently ignored.

Remarks

Register once. Package-generated discovery normally calls this through TestingPlatformBuilderHook.