Skip to content

TestSourceAttribute class

Attribute to define the method under test on a test method.

csharp
[AttributeUsage(AttributeTargets.Method)]
public class TestSourceAttribute : Attribute
[AttributeUsage(AttributeTargets.Method)]
public class TestSourceAttribute : Attribute

Public Members

namedescription
TestSourceAttribute(…)Initializes a new instance of the TestSourceAttribute class.

See Also