NUnit.Framework.TestCaseData.Ignore C# (CSharp) Method

Ignore() public method

Ignores this TestCase.
public Ignore ( ) : TestCaseData
return TestCaseData
        public TestCaseData Ignore()
        {
            isIgnored = true;
            return this;
        }

Same methods

TestCaseData::Ignore ( string reason ) : TestCaseData

Usage Example

 TestCaseData ProvideIgnoreReasonTo(TestCaseData target)
 {
     if (reason != null) {
         target.Ignore(reason);
     }
     return target;
 }
All Usage Examples Of NUnit.Framework.TestCaseData::Ignore