Partilhar via


TestIdGenerationStrategyAttribute(TestIdGenerationStrategy) Constructor

Definition

Initializes a new instance of the TestIdGenerationStrategyAttribute class.

public TestIdGenerationStrategyAttribute (Microsoft.VisualStudio.TestTools.UnitTesting.TestIdGenerationStrategy strategy);
new Microsoft.VisualStudio.TestTools.UnitTesting.TestIdGenerationStrategyAttribute : Microsoft.VisualStudio.TestTools.UnitTesting.TestIdGenerationStrategy -> Microsoft.VisualStudio.TestTools.UnitTesting.TestIdGenerationStrategyAttribute
Public Sub New (strategy As TestIdGenerationStrategy)

Parameters

strategy
TestIdGenerationStrategy

The TestIdGenerationStrategy to use when generating the test ID.

Applies to