TestSourceAttribute constructor
Initializes a new instance of the TestSourceAttribute
class.
csharp
public TestSourceAttribute(string memberName)
public TestSourceAttribute(string memberName)
parameter | description |
---|---|
memberName | Provide the member name with the nameof keyword. [TestSource(nameof(MyClass.MyMethod))) |
See Also
- class TestSourceAttribute
- namespace Twizzar.Fixture