ValueSourceAttribute 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
[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(String) | |
| ValueSourceAttribute(Type, String) | |
属性
| 名称 | 说明 |
|---|---|
| SourceName | |
| SourceType | |
方法
| 名称 | 说明 |
|---|---|
| GetData(ParameterInfo) | |