Partager via


PexExplorableFromFactoriesAttributeBase.TryCreateExplorableFactory Method

Definition

Tries to create an explorable factory method

protected:
 static bool TryCreateExplorableFactory(Microsoft::Pex::Engine::ComponentModel::IPexComponent ^ host, Microsoft::ExtendedReflection::Metadata::VisibilityContext ^ visibility, Microsoft::ExtendedReflection::Metadata::TypeDefinition ^ typeDefinition, Microsoft::ExtendedReflection::Metadata::MethodDefinition ^ methodDefinition, Microsoft::Pex::Framework::PexFactoryMethodAttribute ^ attribute, [Runtime::InteropServices::Out] Microsoft::Pex::Engine::Explorable::PexExplorableFromMethod ^ % explorable);
protected static bool TryCreateExplorableFactory (Microsoft.Pex.Engine.ComponentModel.IPexComponent host, Microsoft.ExtendedReflection.Metadata.VisibilityContext visibility, Microsoft.ExtendedReflection.Metadata.TypeDefinition typeDefinition, Microsoft.ExtendedReflection.Metadata.MethodDefinition methodDefinition, Microsoft.Pex.Framework.PexFactoryMethodAttribute attribute, out Microsoft.Pex.Engine.Explorable.PexExplorableFromMethod explorable);
static member TryCreateExplorableFactory : Microsoft.Pex.Engine.ComponentModel.IPexComponent * Microsoft.ExtendedReflection.Metadata.VisibilityContext * Microsoft.ExtendedReflection.Metadata.TypeDefinition * Microsoft.ExtendedReflection.Metadata.MethodDefinition * Microsoft.Pex.Framework.PexFactoryMethodAttribute * PexExplorableFromMethod -> bool
Protected Shared Function TryCreateExplorableFactory (host As IPexComponent, visibility As VisibilityContext, typeDefinition As TypeDefinition, methodDefinition As MethodDefinition, attribute As PexFactoryMethodAttribute, ByRef explorable As PexExplorableFromMethod) As Boolean

Parameters

host
Microsoft.Pex.Engine.ComponentModel.IPexComponent
visibility
Microsoft.ExtendedReflection.Metadata.VisibilityContext
typeDefinition
Microsoft.ExtendedReflection.Metadata.TypeDefinition
methodDefinition
Microsoft.ExtendedReflection.Metadata.MethodDefinition
explorable
Microsoft.Pex.Engine.Explorable.PexExplorableFromMethod

Returns

Applies to