PexCreatableFactoryAttributeBase.TryCreateCreatableFactory 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
创建可探索对象猜测器。
protected:
abstract bool TryCreateCreatableFactory(Microsoft::Pex::Engine::ComponentModel::IPexExplorationComponent ^ host, [Runtime::InteropServices::Out] Microsoft::Pex::Engine::Creatable::IPexCreatableFactory ^ % factory);
protected abstract bool TryCreateCreatableFactory (Microsoft.Pex.Engine.ComponentModel.IPexExplorationComponent host, out Microsoft.Pex.Engine.Creatable.IPexCreatableFactory factory);
abstract member TryCreateCreatableFactory : Microsoft.Pex.Engine.ComponentModel.IPexExplorationComponent * IPexCreatableFactory -> bool
Protected MustOverride Function TryCreateCreatableFactory (host As IPexExplorationComponent, ByRef factory As IPexCreatableFactory) As Boolean
参数
- host
- Microsoft.Pex.Engine.ComponentModel.IPexExplorationComponent
主机。
- factory
- Microsoft.Pex.Engine.Creatable.IPexCreatableFactory
工厂。