PexCreatableByClassFactoryAttribute(Type, Type) 构造函数

定义

初始化 PexCreatableByClassFactoryAttribute 类的新实例。

public:
 PexCreatableByClassFactoryAttribute(Type ^ creatableType, Type ^ factoryType);
public PexCreatableByClassFactoryAttribute (Type creatableType, Type factoryType);
new Microsoft.Pex.Framework.Creatable.PexCreatableByClassFactoryAttribute : Type * Type -> Microsoft.Pex.Framework.Creatable.PexCreatableByClassFactoryAttribute
Public Sub New (creatableType As Type, factoryType As Type)

参数

creatableType
Type

可创建对象的类型。

factoryType
Type

工厂的类型。

适用于