PexExplorableFromFactoriesAttributeBase.TryValidateType(IPexComponent, VisibilityContext, TypeDefinition) Method

Definition

Tries to validate the factory type.

protected:
 static bool TryValidateType(Microsoft::Pex::Engine::ComponentModel::IPexComponent ^ host, Microsoft::ExtendedReflection::Metadata::VisibilityContext ^ visibility, Microsoft::ExtendedReflection::Metadata::TypeDefinition ^ typeDefinition);
protected static bool TryValidateType (Microsoft.Pex.Engine.ComponentModel.IPexComponent host, Microsoft.ExtendedReflection.Metadata.VisibilityContext visibility, Microsoft.ExtendedReflection.Metadata.TypeDefinition typeDefinition);
static member TryValidateType : Microsoft.Pex.Engine.ComponentModel.IPexComponent * Microsoft.ExtendedReflection.Metadata.VisibilityContext * Microsoft.ExtendedReflection.Metadata.TypeDefinition -> bool
Protected Shared Function TryValidateType (host As IPexComponent, visibility As VisibilityContext, typeDefinition As TypeDefinition) As Boolean

Parameters

host
Microsoft.Pex.Engine.ComponentModel.IPexComponent
visibility
Microsoft.ExtendedReflection.Metadata.VisibilityContext
typeDefinition
Microsoft.ExtendedReflection.Metadata.TypeDefinition

Returns

Boolean

Applies to