Share via


PexRandomExplorableStrategyAttribute.CreateSession Method

Definition

Creates a new session.

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

Parameters

host
Microsoft.Pex.Engine.ComponentModel.IPexExplorationComponent

The host.

explorableType
Microsoft.ExtendedReflection.Metadata.TypeEx

The type.

Returns

Microsoft.Pex.Engine.Explorable.IPexExplorableStrategySession

Applies to