ValueSourceAttribute 类

定义

[System.AttributeUsage(System.AttributeTargets.Parameter, AllowMultiple=true, Inherited=false)]
public class ValueSourceAttribute : NUnit.Framework.DataAttribute, NUnit.Framework.Api.IParameterDataSource
type ValueSourceAttribute = class
    inherit DataAttribute
    interface IParameterDataSource
继承
ValueSourceAttribute
属性
实现

构造函数

ValueSourceAttribute(String)
ValueSourceAttribute(Type, String)

属性

SourceName
SourceType

方法

GetData(ParameterInfo)

适用于