共用方式為


TestCaseSourceAttribute.GetTestCasesFor(MethodInfo) 方法

定義

public System.Collections.Generic.IEnumerable<NUnit.Framework.Api.ITestCaseData> GetTestCasesFor(System.Reflection.MethodInfo method);
abstract member GetTestCasesFor : System.Reflection.MethodInfo -> seq<NUnit.Framework.Api.ITestCaseData>
override this.GetTestCasesFor : System.Reflection.MethodInfo -> seq<NUnit.Framework.Api.ITestCaseData>

參數

method
MethodInfo

傳回

實作

適用於