语言

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)

适用于