Open sandboxFocus

Interface IDiffToolRunner

Provides diff tool functionality for the test framework. When no implementation is available (i.e., when the Metalama.Extensions.DiffEngine package is not referenced), diff tool features are silently disabled and tests continue to work normally.

Namespace: Metalama.Testing.AspectTesting
Assembly: Metalama.Testing.AspectTesting.dll
Syntax
public interface IDiffToolRunner
Remarks

To enable diff tool support, add a reference to the Metalama.Extensions.DiffEngine package.

Properties

Name Description
IsDisabled

Gets a value indicating whether the diff tool is disabled.

Methods

Name Description
Kill(string, string)

Kills any diff tool instance that was launched to compare the specified files. This is typically called when the files become equal after an update.

Launch(string, string)

Launches a diff tool to compare two files.

SetMaxInstances(int)

Sets the maximum number of diff tool instances that can be launched concurrently.

Extension Methods