PexExplorableFromFactoriesAttributeBase.TryCreateExplorableFactory Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- attribute
- PexFactoryMethodAttribute
- explorable
- Microsoft.Pex.Engine.Explorable.PexExplorableFromMethod