PexCrossProductExplorableStrategyAttribute.CreateSession 方法

定义

创建新会话。

public:
 override Microsoft::Pex::Engine::Explorable::IPexExplorableStrategySession ^ CreateSession(Microsoft::Pex::Engine::ComponentModel::IPexExplorationComponent ^ host, Microsoft::ExtendedReflection::Metadata::TypeEx ^ explorableType);
public override Microsoft.Pex.Engine.Explorable.IPexExplorableStrategySession CreateSession (Microsoft.Pex.Engine.ComponentModel.IPexExplorationComponent host, Microsoft.ExtendedReflection.Metadata.TypeEx explorableType);
override this.CreateSession : Microsoft.Pex.Engine.ComponentModel.IPexExplorationComponent * Microsoft.ExtendedReflection.Metadata.TypeEx -> Microsoft.Pex.Engine.Explorable.IPexExplorableStrategySession
Public Overrides Function CreateSession (host As IPexExplorationComponent, explorableType As TypeEx) As IPexExplorableStrategySession

参数

host
Microsoft.Pex.Engine.ComponentModel.IPexExplorationComponent

主机。

explorableType
Microsoft.ExtendedReflection.Metadata.TypeEx

类型。

返回

Microsoft.Pex.Engine.Explorable.IPexExplorableStrategySession

适用于